diff --git a/DDCore/python/dd4hep_base.py b/DDCore/python/dd4hep_base.py index 5f95ba1804988fb633ff618a4a1814be4ae41200..b3f843380617dd70c219ea45aec1ed0e3bd465d9 100644 --- a/DDCore/python/dd4hep_base.py +++ b/DDCore/python/dd4hep_base.py @@ -411,6 +411,7 @@ class CommandLine: return self.data.get(attr) return None + # --------------------------------------------------------------------------- # # Import units from TGeo. @@ -419,7 +420,6 @@ class CommandLine: try: import_namespace_item('core', 'dd4hep_units') - def import_units(ns=None): if ns is None: ns = name_space @@ -436,7 +436,6 @@ try: except Exception as e: logger.warning('No units can be imported. ' + str(e)) - def import_units(ns=None): return 0