mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor cosmetics
This commit is contained in:
parent
196e2d35b2
commit
705d45f4db
|
@ -2309,11 +2309,11 @@ def listToStrValue(value):
|
||||||
value = list(value)
|
value = list(value)
|
||||||
|
|
||||||
if isinstance(value, list):
|
if isinstance(value, list):
|
||||||
retValue = value.__str__().lstrip('[').rstrip(']')
|
retVal = value.__str__().lstrip('[').rstrip(']')
|
||||||
else:
|
else:
|
||||||
retValue = value
|
retVal = value
|
||||||
|
|
||||||
return retValue
|
return retVal
|
||||||
|
|
||||||
def getExceptionFrameLocals():
|
def getExceptionFrameLocals():
|
||||||
"""
|
"""
|
||||||
|
@ -2322,9 +2322,11 @@ def getExceptionFrameLocals():
|
||||||
"""
|
"""
|
||||||
|
|
||||||
retVal = {}
|
retVal = {}
|
||||||
|
|
||||||
if sys.exc_info():
|
if sys.exc_info():
|
||||||
trace = sys.exc_info()[2]
|
trace = sys.exc_info()[2]
|
||||||
while trace.tb_next:
|
while trace.tb_next:
|
||||||
trace = trace.tb_next
|
trace = trace.tb_next
|
||||||
retVal = trace.tb_frame.f_locals
|
retVal = trace.tb_frame.f_locals
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
Loading…
Reference in New Issue
Block a user