Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
c065cec8
Commit
c065cec8
authored
Apr 22, 2013
by
Christos Stavrakakis
Browse files
astakosclient: Fix bug in checking arguments
parent
04aed340
Changes
1
Hide whitespace changes
Inline
Side-by-side
astakosclient/astakosclient/utils.py
View file @
c065cec8
...
...
@@ -98,7 +98,7 @@ def parse_request(request, logger):
def
check_input
(
function_name
,
logger
,
**
kwargs
):
"""Check if given arguments are not None"""
for
i
in
kwargs
:
if
not
kwargs
[
i
]:
if
kwargs
[
i
]
is
None
:
m
=
"in "
+
function_name
+
": "
+
str
(
i
)
+
" parameter not given"
logger
.
error
(
m
)
raise
BadValue
(
m
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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