commit/galaxy-central: natefoo: Return a dict instead of a list if a [galaxy:tool_*] section is missing from the config.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/42e0e5d9b7a4/ changeset: 42e0e5d9b7a4 user: natefoo date: 2013-02-11 22:50:16 summary: Return a dict instead of a list if a [galaxy:tool_*] section is missing from the config. affected #: 1 file diff -r 41f4c9c9095919b080dc0e32a5d540865fdf0fa7 -r 42e0e5d9b7a479d884f9556a59aadea7886c131e lib/galaxy/config.py --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -304,7 +304,7 @@ return rval except ConfigParser.NoSectionError: - return [] + return {} def get( self, key, default ): return self.config_dict.get( key, default ) def get_bool( self, key, default ): 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)
-
Bitbucket