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

Skip to content

Commit ad3283f

Browse files
committed
Another Python 2.6 patch
1 parent 07208c4 commit ad3283f

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

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

thirdparty/bottle/bottle.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2345,8 +2345,7 @@ def load_module(self, path, squash=True):
23452345
represent namespaces (see :meth:`load_dict`).
23462346
"""
23472347
config_obj = load(path)
2348-
obj = {key: getattr(config_obj, key) for key in dir(config_obj)
2349-
if key.isupper()}
2348+
obj = dict([(key, getattr(config_obj, key)) for key in dir(config_obj) if key.isupper()])
23502349

23512350
if squash:
23522351
self.load_dict(obj)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
4545
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4646
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4747
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
48-
27e320a51440d272f35cd9f07c907526 lib/core/settings.py
48+
96226306f47f98cf4dd80c88e5f36842 lib/core/settings.py
4949
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5050
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5151
afd0636d2e93c23f4f0a5c9b6023ea17 lib/core/target.py
@@ -281,7 +281,7 @@ af9d948b4c861df0418355734418bcdc tamper/unionalltounion.py
281281
d41d8cd98f00b204e9800998ecf8427e thirdparty/ansistrm/__init__.py
282282
8e775c25bc9e84891ad6fcb4f0005c23 thirdparty/beautifulsoup/beautifulsoup.py
283283
cb2e1fe7c404dff41a2ae9132828f532 thirdparty/beautifulsoup/__init__.py
284-
b3087394b198114cd462f6cd760887a6 thirdparty/bottle/bottle.py
284+
e9c2578a581b4d58972e4c59e3a06864 thirdparty/bottle/bottle.py
285285
4528e6a7bb9341c36c425faf40ef32c3 thirdparty/bottle/__init__.py
286286
b20f539dc45fa9e514c1eb4f5aa8b5c6 thirdparty/chardet/big5freq.py
287287
44159687c2bae35f165b44f07f5f167a thirdparty/chardet/big5prober.py

0 commit comments

Comments
 (0)