use lower_case_with_underscores instead of mixedCase for methods (PEP 8)

This commit is contained in:
Christophe Benz 2010-03-11 15:13:17 +01:00 committed by Christophe Benz
commit d699e307dd
21 changed files with 177 additions and 185 deletions

View file

@ -39,7 +39,7 @@ class Module:
if not self.klass:
raise ImportError("This is not a backend module (no Backend class found)")
def hasCaps(self, caps):
def has_caps(self, caps):
if not isinstance(caps, (list,tuple)):
caps = (caps,)
@ -48,7 +48,7 @@ class Module:
return True
return False
def createBackend(self, weboob):
def create_backend(self, weboob):
return self.klass(weboob)
class ModulesLoader: