mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor cosmetics
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user