mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge branch 'release_15.10' into release_16.01
Conflicts: lib/galaxy/version.py
This commit is contained in:
@@ -3,7 +3,6 @@ import json
|
||||
import logging
|
||||
|
||||
from galaxy.util.hash_util import hmac_new
|
||||
from galaxy.util.json import json_fix
|
||||
|
||||
log = logging.getLogger( __name__ )
|
||||
|
||||
@@ -21,13 +20,8 @@ def tool_shed_decode( value ):
|
||||
values = None
|
||||
try:
|
||||
values = json.loads( value )
|
||||
except Exception, e:
|
||||
except Exception:
|
||||
pass
|
||||
if values is not None:
|
||||
try:
|
||||
return json_fix( values )
|
||||
except Exception, e:
|
||||
log.debug( "Fixing decoded json values '%s' from tool shed threw exception: %s" % ( str( values ), str( e ) ) )
|
||||
if values is None:
|
||||
values = value
|
||||
return values
|
||||
|
||||
Reference in New Issue
Block a user