mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Introducing 'new style classes' (idea from Pull request #284)
This commit is contained in:
@@ -168,7 +168,7 @@ class UnicodeRawConfigParser(RawConfigParser):
|
||||
|
||||
fp.write("\n")
|
||||
|
||||
class Format:
|
||||
class Format(object):
|
||||
@staticmethod
|
||||
def humanize(values, chain=" or "):
|
||||
return chain.join(values)
|
||||
@@ -2824,7 +2824,7 @@ def expandMnemonics(mnemonics, parser, args):
|
||||
Expands mnemonic options
|
||||
"""
|
||||
|
||||
class MnemonicNode:
|
||||
class MnemonicNode(object):
|
||||
def __init__(self):
|
||||
self.next = {}
|
||||
self.current = []
|
||||
|
||||
Reference in New Issue
Block a user