Skip to content

Commit

Permalink
Correctly handles allowDefault -> allow_default
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Sep 9, 2014
1 parent 7e5ce4f commit 78567b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vistrails/core/modules/vistrails_module.py
Expand Up @@ -1512,6 +1512,8 @@ def provide_output_port_documentation(cls, port_name):

@deprecated("get_input")
def getInputFromPort(self, *args, **kwargs):
if 'allowDefault' in kwargs:
kwargs['allow_default'] = kwargs.pop('allowDefault')
return self.get_input(*args, **kwargs)

@deprecated("get_input_list")
Expand Down

0 comments on commit 78567b5

Please sign in to comment.