1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/4e60046a38c4/ Changeset: 4e60046a38c4 User: dannon Date: 2015-01-05 14:06:01+00:00 Summary: Slight modification to prevent unintentional (safe and unused, but still) reassignment of parameter 'value' in loop. Affected #: 1 file diff -r f55708c39129ab2b293edb7ec54faa85506d2800 -r 4e60046a38c4bf79c77e5232856208b7e52dc162 lib/tool_shed/util/web_util.py --- a/lib/tool_shed/util/web_util.py +++ b/lib/tool_shed/util/web_util.py @@ -4,7 +4,7 @@ ALLOWED_MAP = dict(map(lambda x: (x, raw_escape(x)), ALLOWED_ELEMENTS)) -def escape( value ): +def escape( string ): """ A tool shed variant of markupsafe.escape that allows a select few HTML elements that are repeatedly used in messages created deep in the toolshed components. Ideally abstract things would be produced @@ -14,7 +14,7 @@ >>> escape("A <b>repo</b>") u'A <b>repo</b>' """ - escaped = str( raw_escape( value ) ) + escaped = str( raw_escape( string ) ) # Unescape few selected tags. for key, value in ALLOWED_MAP.iteritems(): escaped = escaped.replace(value, key) 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.