or better yet, there is no need for _ or *args on getPrivileges (tried with SQLite and MSSql which crashed)

This commit is contained in:
Miroslav Stampar 2010-10-21 13:31:06 +00:00
parent fe3967bdec
commit 24e4429bf6
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, *args):
def getPrivileges(self):
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, *args):
def getPrivileges(self):
warnMsg = "on SQLite it is not possible to enumerate the user privileges"
logger.warn(warnMsg)