File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty import six
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.5.67 "
21+ VERSION = "1.3.5.68 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 1212
1313from __future__ import print_function
1414
15- import _markupbase
15+ try :
16+ import _markupbase as markupbase
17+ except :
18+ import markupbase
19+
1620import re
1721
1822__all__ = ["SGMLParser" , "SGMLParseError" ]
@@ -55,7 +59,7 @@ class SGMLParseError(RuntimeError):
5559# chunks). Entity references are passed by calling
5660# self.handle_entityref() with the entity reference as argument.
5761
58- class SGMLParser (_markupbase .ParserBase ):
62+ class SGMLParser (markupbase .ParserBase ):
5963 # Definition of entities -- derived classes may override
6064 entity_or_charref = re .compile ('&(?:'
6165 '([a-zA-Z][-.a-zA-Z0-9]*)|#([0-9]+)'
@@ -74,7 +78,7 @@ def reset(self):
7478 self .lasttag = '???'
7579 self .nomoretags = 0
7680 self .literal = 0
77- _markupbase .ParserBase .reset (self )
81+ markupbase .ParserBase .reset (self )
7882
7983 def setnomoretags (self ):
8084 """Enter literal mode (CDATA) till EOF.
You can’t perform that action at this time.
0 commit comments