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):
|
class Assignment(base.AssignmentDriverBase):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def default_role_driver(self):
|
def default_role_driver(cls):
|
||||||
return 'sql'
|
return 'sql'
|
||||||
|
|
||||||
def create_grant(self, role_id, user_id=None, group_id=None,
|
def create_grant(self, role_id, user_id=None, group_id=None,
|
||||||
|
|
|
@ -252,7 +252,7 @@ class DbSync(BaseApp):
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def check_db_sync_status(self):
|
def check_db_sync_status(cls):
|
||||||
status = 0
|
status = 0
|
||||||
try:
|
try:
|
||||||
expand_version = upgrades.get_db_version(repo='expand_repo')
|
expand_version = upgrades.get_db_version(repo='expand_repo')
|
||||||
|
|
Loading…
Reference in New Issue