1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/a7475ad6ecfc/ changeset: a7475ad6ecfc user: greg date: 2013-03-12 20:02:03 summary: Handle exceptions when attempting to parse a datatypes_conf.xml file in a tool shed repository. affected #: 1 file
diff -r 01e294adf7ac8715039d0baed1d44417e338c1a4 -r a7475ad6ecfc0f1fcdab3cfacce586a107aa8057 lib/tool_shed/util/shed_util_common.py --- a/lib/tool_shed/util/shed_util_common.py +++ b/lib/tool_shed/util/shed_util_common.py @@ -1190,7 +1190,11 @@ return metadata_dict def generate_datatypes_metadata( app, repository_clone_url, repository_files_dir, datatypes_config, metadata_dict ): """Update the received metadata_dict with information from the parsed datatypes_config.""" - tree = ElementTree.parse( datatypes_config ) + try: + tree = ElementTree.parse( datatypes_config ) + except Exception, e: + log.debug( "Exception attempting to parse %s: %s" % ( str( datatypes_config ), str( e ) ) ) + return metadata_dict root = tree.getroot() ElementInclude.include( root ) repository_datatype_code_files = []
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.
galaxy-commits@lists.galaxyproject.org