commit/galaxy-central: richard_burhans: fix path to proprietary_datatype_module so that we get the correct error message when an import fails
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/2dd7d2162a34/ changeset: 2dd7d2162a34 user: richard_burhans date: 2012-04-09 21:38:05 summary: fix path to proprietary_datatype_module so that we get the correct error message when an import fails affected #: 1 file diff -r 7274516136812ee0a84aa69f420348848d1b5b08 -r 2dd7d2162a34d2cdabe0f93a31b6f640621ce5e1 lib/galaxy/datatypes/registry.py --- a/lib/galaxy/datatypes/registry.py +++ b/lib/galaxy/datatypes/registry.py @@ -141,7 +141,7 @@ if hasattr( imported_module, datatype_class_name ): datatype_class = getattr( imported_module, datatype_class_name ) except Exception, e: - full_path = os.path.join( full_path, proprietary_datatype_module ) + full_path = os.path.join( proprietary_path, proprietary_datatype_module ) self.log.debug( "Exception importing proprietary code file %s: %s" % ( str( full_path ), str( e ) ) ) finally: lock.release() 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