commit/galaxy-central: natefoo: Set config file vars to the option's value, not the option's name... Thanks Dave B.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f8f43c3bc008/ Changeset: f8f43c3bc008 User: natefoo Date: 2014-09-16 15:36:21 Summary: Set config file vars to the option's value, not the option's name... Thanks Dave B. Affected #: 1 file diff -r 5f90a490e9971685945081cbed681c961932a4fd -r f8f43c3bc008c102537e4a6afbb8508f2ea98797 lib/galaxy/config.py --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -400,7 +400,7 @@ for var, defaults in defaults.items(): if kwargs.get( var, None ) is not None: - path = var + path = kwargs.get( var ) else: for default in defaults: if os.path.exists( resolve_path( default, self.root ) ): @@ -413,7 +413,7 @@ for var, defaults in listify_defaults.items(): paths = [] if kwargs.get( var, None ) is not None: - paths = listify( var ) + paths = listify( kwargs.get( var ) ) else: for default in defaults: for path in listify( 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)
-
commits-noreply@bitbucket.org