fix for --privileges (on MSSql --privileges returned exception)

This commit is contained in:
Miroslav Stampar 2010-10-21 13:28:29 +00:00
parent bc79eec702
commit fe3967bdec
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class Enumeration(GenericEnumeration):
def __init__(self):
GenericEnumeration.__init__(self, "Microsoft SQL Server")
def getPrivileges(self, _):
def getPrivileges(self, *args):
warnMsg = "on Microsoft SQL Server it is not possible to fetch "
warnMsg += "database users privileges"
logger.warn(warnMsg)

View File

@ -41,7 +41,7 @@ class Enumeration(GenericEnumeration):
return {}
def getPrivileges(self, _):
def getPrivileges(self, *args):
warnMsg = "on SQLite it is not possible to enumerate the user privileges"
logger.warn(warnMsg)