Minor bug fix, thanks Alex

This commit is contained in:
Bernardo Damele 2010-11-08 12:45:23 +00:00
parent 78d7b17483
commit 0c8918bf07
3 changed files with 3 additions and 2 deletions

View File

@ -242,6 +242,7 @@ Anastasios Monachos <anastasiosm@gmail.com>
for providing some useful data for providing some useful data
Alejo Murillo Moya <alex@65535.com> Alejo Murillo Moya <alex@65535.com>
for reporting a minor bug
for suggesting a feature for suggesting a feature
Roberto Nemirovsky <roberto.paes@gmail.com> Roberto Nemirovsky <roberto.paes@gmail.com>

View File

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

View File

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