mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Just.. cosmetics ;)
This commit is contained in:
parent
35b6d7278a
commit
6761933f75
7 changed files with 18 additions and 7 deletions
|
|
@ -2300,6 +2300,10 @@ def listToStrValue(value):
|
|||
>>> listToStrValue([1,2,3])
|
||||
'1, 2, 3'
|
||||
"""
|
||||
|
||||
if isinstance(value, (set, tuple)):
|
||||
value = list(value)
|
||||
|
||||
if isinstance(value, list):
|
||||
retValue = value.__str__().lstrip('[').rstrip(']')
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -83,5 +83,6 @@ def update():
|
|||
logger.error(errMsg)
|
||||
elif svnStdout:
|
||||
revision = re.search("revision\s+([\d]+)", svnStdout, re.I)
|
||||
|
||||
if revision:
|
||||
logger.info('updated to the latest revision %s' % revision.group(1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue