1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/4afec5f8e54a/ changeset: 4afec5f8e54a user: greg date: 2012-04-17 17:04:45 summary: Fix for handling proprietary datatypes included in a tool shed repository being installed. affected #: 1 file diff -r a09c2e0406c471fc31f18f5f7cce49e1b4b92718 -r 4afec5f8e54ae1ed72bea926bba901d326da10ef lib/galaxy/util/shed_util.py --- a/lib/galaxy/util/shed_util.py +++ b/lib/galaxy/util/shed_util.py @@ -214,11 +214,14 @@ elem.attrib[ 'proprietary_datatype_module' ] = proprietary_datatype_module sniffers = datatypes_config_root.find( 'sniffers' ) + else: + sniffers = None fd, proprietary_datatypes_config = tempfile.mkstemp() os.write( fd, '<?xml version="1.0"?>\n' ) os.write( fd, '<datatypes>\n' ) os.write( fd, '%s' % util.xml_to_string( registration ) ) - os.write( fd, '%s' % util.xml_to_string( sniffers ) ) + if sniffers: + os.write( fd, '%s' % util.xml_to_string( sniffers ) ) os.write( fd, '</datatypes>\n' ) os.close( fd ) os.chmod( proprietary_datatypes_config, 0644 ) 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.