mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
fix path to proprietary_datatype_module so that we get the correct error message when an import fails
This commit is contained in:
@@ -141,7 +141,7 @@ class Registry( object ):
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user