Skip to content

Commit

Permalink
Merge pull request #64 from jeronimoalbi/develop
Browse files Browse the repository at this point in the history
Version update to `1.0.0-beta.14`
  • Loading branch information
nullproxy authored Mar 1, 2017
2 parents c7e9a73 + d178a4c commit ed59c8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion katana/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

__license__ = "MIT"
__copyright__ = "Copyright (c) 2016-2017 KUSANAGI S.L. (http://kusanagi.io)"
__version__ = '1.0.0-beta.13'
__version__ = '1.0.0-beta.14'
5 changes: 5 additions & 0 deletions katana/api/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,11 @@ def set_return(self, value):
version = self.get_version()
action = self.get_action_name()

# When runnong from CLI allow any return values
if not self.__action_schema:
self.__return_value.set('return', value)
return self

if not self.__action_schema.has_return():
raise UndefinedReturnValueError(service, version, action)

Expand Down

0 comments on commit ed59c8f

Please sign in to comment.