commit/galaxy-central: natefoo: Split job limits on ' = ' rather than '='.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/2aae11d62620/ changeset: 2aae11d62620 user: natefoo date: 2012-11-27 19:50:54 summary: Split job limits on ' = ' rather than '='. affected #: 1 file diff -r 4a95ae9a26d96f0dc9a0fe3b083a2c7b99b0466b -r 2aae11d62620b6c839b513d68a06d2cc57c5fa21 lib/galaxy/config.py --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -224,8 +224,8 @@ try: job_limits = global_conf_parser.items( 'galaxy:job_limits' ) for k, v in job_limits: - # ConfigParser considers the first colon to be the delimiter, undo this behavior - more_k, v = v.split('=', 1) + # Since the URL contains a colon and possibly an equals sign, consider ' = ' the delimiter + more_k, v = v.split(' = ', 1) k = '%s:%s' % (k, more_k.strip()) v = v.strip().rsplit(None, 1) v[1] = int(v[1]) 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