From 8d4761b26e2aee4905b0b42333aa9249b6ca87f7 Mon Sep 17 00:00:00 2001 From: Richard Burhans Date: Mon, 9 Apr 2012 15:38:05 -0400 Subject: [PATCH] fix path to proprietary_datatype_module so that we get the correct error message when an import fails --- lib/galaxy/datatypes/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/datatypes/registry.py b/lib/galaxy/datatypes/registry.py index ce350f7ad4c..50315904e00 100644 --- a/lib/galaxy/datatypes/registry.py +++ b/lib/galaxy/datatypes/registry.py @@ -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()