From 6029033f221de41e39438fadf9bf1c277fec85f1 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Wed, 8 Feb 2023 18:38:56 +0100 Subject: [PATCH] Fix python style errors --- DDCore/python/dd4hep_base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DDCore/python/dd4hep_base.py b/DDCore/python/dd4hep_base.py index 5f95ba180..b3f843380 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 -- GitLab