X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa%2Fgeneric%2F__init__.py;h=bd37cf4919ccc0c5ac0e1cf31adffabcacf80e4f;hp=a7a0741a2e6101a4c9882f1adc698c18529c5763;hb=7eb34251548a271ae964b2f7d7e0fad7a1e41f5a;hpb=184dd61175ae551139d065903099b031a35b9a33 diff --git a/sfa/generic/__init__.py b/sfa/generic/__init__.py index a7a0741a..bd37cf49 100644 --- a/sfa/generic/__init__.py +++ b/sfa/generic/__init__.py @@ -35,7 +35,7 @@ class Generic: if flavour is None: flavour = config.SFA_GENERIC_FLAVOUR flavour = flavour.lower() - #mixed = flavour.capitalize() + # mixed = flavour.capitalize() module_path = "sfa.generic.%s" % flavour classname = "%s" % flavour logger.debug("Generic.the_flavour with flavour=%s" % flavour) @@ -97,8 +97,9 @@ class Generic: try: module_or_class = getattr(self, classname)() logger.debug("%s : %s" % (message, module_or_class)) - # this gets passed to ManagerWrapper that will call the class constructor - # if it's a class, or use the module as is if it's a module + # this gets passed to ManagerWrapper that will + # call the class constructor if it's a class, + # or use the module as is if it's a module # so bottom line is, don't try the constructor here return module_or_class except: