Merge "Do not use self in classmethod"
This commit is contained in:
commit
faeab0847c
@ -43,7 +43,7 @@ class AssignmentType(object):
|
||||
class Assignment(base.AssignmentDriverBase):
|
||||
|
||||
@classmethod
|
||||
def default_role_driver(self):
|
||||
def default_role_driver(cls):
|
||||
return 'sql'
|
||||
|
||||
def create_grant(self, role_id, user_id=None, group_id=None,
|
||||
|
@ -252,7 +252,7 @@ class DbSync(BaseApp):
|
||||
return parser
|
||||
|
||||
@classmethod
|
||||
def check_db_sync_status(self):
|
||||
def check_db_sync_status(cls):
|
||||
status = 0
|
||||
try:
|
||||
expand_version = upgrades.get_db_version(repo='expand_repo')
|
||||
|
Loading…
Reference in New Issue
Block a user