Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c8918b

Browse files
committed
Minor bug fix, thanks Alex
1 parent 78d7b17 commit 0c8918b

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

doc/THANKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ Anastasios Monachos <[email protected]>
242242
for providing some useful data
243243

244244
Alejo Murillo Moya <[email protected]>
245+
for reporting a minor bug
245246
for suggesting a feature
246247

247248
Roberto Nemirovsky <[email protected]>

plugins/dbms/mssqlserver/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Enumeration(GenericEnumeration):
2323
def __init__(self):
2424
GenericEnumeration.__init__(self, DBMS.MSSQL)
2525

26-
def getPrivileges(self):
26+
def getPrivileges(self, *args):
2727
warnMsg = "on Microsoft SQL Server it is not possible to fetch "
2828
warnMsg += "database users privileges"
2929
logger.warn(warnMsg)

plugins/dbms/sqlite/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def getPasswordHashes(self):
4242

4343
return {}
4444

45-
def getPrivileges(self):
45+
def getPrivileges(self, *args):
4646
warnMsg = "on SQLite it is not possible to enumerate the user privileges"
4747
logger.warn(warnMsg)
4848

0 commit comments

Comments
 (0)