From: Thierry Parmentelat Date: Thu, 27 Oct 2011 08:26:52 +0000 (+0200) Subject: trim unneeded fun X-Git-Tag: sfa-1.1-1~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=cf2a552a8c4a8fe17e2e424634520700860d4710;p=sfa.git trim unneeded fun --- diff --git a/sfa/util/api.py b/sfa/util/api.py index dca8f51e..afc4e970 100644 --- a/sfa/util/api.py +++ b/sfa/util/api.py @@ -83,13 +83,6 @@ except ImportError: SOAPpy = None -def import_deep(name): - mod = __import__(name) - components = name.split('.') - for comp in components[1:]: - mod = getattr(mod, comp) - return mod - class ManagerWrapper: """ This class acts as a wrapper around an SFA interface manager module, but