Do not use self in classmethod
cls should be used in classmethd, instead of self. Change-Id: I149b18935ce909ef978f2b7147b109e11c22f923
This commit is contained in:
parent
4b180dec81
commit
13e7f3641e
@ -338,7 +338,7 @@ class ContainerBroker(DatabaseBroker):
|
||||
self._db_files = None
|
||||
|
||||
@classmethod
|
||||
def create_broker(self, device_path, part, account, container, logger=None,
|
||||
def create_broker(cls, device_path, part, account, container, logger=None,
|
||||
epoch=None, put_timestamp=None,
|
||||
storage_policy_index=None):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user