use lower_case_with_underscores instead of mixedCase for methods (PEP 8)
This commit is contained in:
parent
e4846ff2a4
commit
d699e307dd
21 changed files with 177 additions and 185 deletions
|
|
@ -23,7 +23,7 @@ class Backend:
|
|||
def __init__(self, weboob):
|
||||
self.weboob = weboob
|
||||
|
||||
def hasCaps(self, caps):
|
||||
def has_caps(self, caps):
|
||||
if not isinstance(caps, (list,tuple)):
|
||||
caps = (caps,)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue