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

Skip to content

Commit 7ddb8f7

Browse files
committed
Another Travis patch
1 parent 6010db5 commit 7ddb8f7

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty import six
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.5.67"
21+
VERSION = "1.3.5.68"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/utils/sgmllib.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212

1313
from __future__ import print_function
1414

15-
import _markupbase
15+
try:
16+
import _markupbase as markupbase
17+
except:
18+
import markupbase
19+
1620
import 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.

0 commit comments

Comments
 (0)