commit/galaxy-central: Dave Bouvier: Update tool shed API dictify methods to reference the correct attribute.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ab74f2d80173/ Changeset: ab74f2d80173 User: Dave Bouvier Date: 2013-08-23 20:55:56 Summary: Update tool shed API dictify methods to reference the correct attribute. Affected #: 1 file diff -r e2bca7e8fe7e0f3022c1e1afb4a6eed54dec2bcf -r ab74f2d8017306fb909778aafcd51b78b24e3e56 lib/galaxy/webapps/tool_shed/model/__init__.py --- a/lib/galaxy/webapps/tool_shed/model/__init__.py +++ b/lib/galaxy/webapps/tool_shed/model/__init__.py @@ -180,7 +180,7 @@ value_mapper = {} rval = {} try: - visible_keys = self.__getattribute__( 'api_' + view + '_visible_keys' ) + visible_keys = self.__getattribute__( 'dict_' + view + '_visible_keys' ) except AttributeError: raise Exception( 'Unknown API view: %s' % view ) for key in visible_keys: @@ -291,7 +291,7 @@ value_mapper = {} rval = {} try: - visible_keys = self.__getattribute__( 'api_' + view + '_visible_keys' ) + visible_keys = self.__getattribute__( 'dict_' + view + '_visible_keys' ) except AttributeError: raise Exception( 'Unknown API view: %s' % view ) for key in visible_keys: @@ -322,7 +322,7 @@ value_mapper = {} rval = {} try: - visible_keys = self.__getattribute__( 'api_' + view + '_visible_keys' ) + visible_keys = self.__getattribute__( 'dict_' + view + '_visible_keys' ) except AttributeError: raise Exception( 'Unknown API view: %s' % view ) for key in visible_keys: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org