mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Introducing 'new style classes' (idea from Pull request #284)
This commit is contained in:
parent
0f191f624c
commit
b6650add46
13 changed files with 18 additions and 18 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue