From e857c2a88a59d65f99d0acd5786e747e4f5f029c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 19 May 2016 13:50:31 +0200 Subject: [PATCH] Update for an Issue #1879 --- lib/core/datatype.py | 4 +--- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/core/datatype.py b/lib/core/datatype.py index b3df3dae0..ba33cc2b5 100644 --- a/lib/core/datatype.py +++ b/lib/core/datatype.py @@ -8,8 +8,6 @@ See the file 'doc/COPYING' for copying permission import copy import types -from lib.core.exception import SqlmapDataException - class AttribDict(dict): """ This class defines the sqlmap object, inheriting from Python data @@ -43,7 +41,7 @@ class AttribDict(dict): try: return self.__getitem__(item) except KeyError: - raise SqlmapDataException("unable to access item '%s'" % item) + raise AttributeError("unable to access item '%s'" % item) def __setattr__(self, item, value): """ diff --git a/lib/core/settings.py b/lib/core/settings.py index e3172f864..d6bce072e 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.5.36" +VERSION = "1.0.5.37" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")