mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-25 05:06:10 +00:00
Another Python 2.6 patch
This commit is contained in:
parent
07208c45ef
commit
ad3283fd24
3 changed files with 4 additions and 5 deletions
3
thirdparty/bottle/bottle.py
vendored
3
thirdparty/bottle/bottle.py
vendored
|
|
@ -2345,8 +2345,7 @@ class ConfigDict(dict):
|
|||
represent namespaces (see :meth:`load_dict`).
|
||||
"""
|
||||
config_obj = load(path)
|
||||
obj = {key: getattr(config_obj, key) for key in dir(config_obj)
|
||||
if key.isupper()}
|
||||
obj = dict([(key, getattr(config_obj, key)) for key in dir(config_obj) if key.isupper()])
|
||||
|
||||
if squash:
|
||||
self.load_dict(obj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue