Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
dec5d54d
Commit
dec5d54d
authored
Jan 20, 2019
by
Andrea Manzi
Browse files
FTS-1360
: add Unhautorized exception withouth arguments back
parent
b9a68919
Pipeline
#667422
passed with stage
in 1 minute and 28 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packaging/rpm/fts-rest.spec
View file @
dec5d54d
...
...
@@ -4,7 +4,7 @@
%{!?nosetest_path: %global nosetest_path "/tmp"}
Name: fts-rest
Version: 3.8.
2
Version: 3.8.
3
Release: 1%{?dist}
BuildArch: noarch
Summary: FTS3 Rest Interface
...
...
src/fts3/rest/client/exceptions.py
View file @
dec5d54d
...
...
@@ -28,7 +28,7 @@ class BadEndpoint(FTS3ClientException):
class
Unauthorized
(
FTS3ClientException
):
def
__init__
(
self
,
reason
):
def
__init__
(
self
,
reason
=
None
):
self
.
reason
=
reason
def
__str__
(
self
):
...
...
src/fts3rest/fts3rest/controllers/api.py
View file @
dec5d54d
...
...
@@ -28,7 +28,7 @@ from fts3rest.lib.base import BaseController, Session
from
fts3rest.lib.helpers
import
jsonify
from
fts3rest.lib
import
api
API_VERSION
=
dict
(
major
=
3
,
minor
=
8
,
patch
=
2
)
API_VERSION
=
dict
(
major
=
3
,
minor
=
8
,
patch
=
3
)
def
_get_fts_core_version
():
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment