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

Skip to content

Commit e857c2a

Browse files
committed
Update for an Issue #1879
1 parent e7aaea2 commit e857c2a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

lib/core/datatype.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
import copy
99
import types
1010

11-
from lib.core.exception import SqlmapDataException
12-
1311
class AttribDict(dict):
1412
"""
1513
This class defines the sqlmap object, inheriting from Python data
@@ -43,7 +41,7 @@ def __getattr__(self, item):
4341
try:
4442
return self.__getitem__(item)
4543
except KeyError:
46-
raise SqlmapDataException("unable to access item '%s'" % item)
44+
raise AttributeError("unable to access item '%s'" % item)
4745

4846
def __setattr__(self, item, value):
4947
"""

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.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.36"
22+
VERSION = "1.0.5.37"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)