mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Dealt with SVN update login traceback. Need to investigate further why it asks for credentials sometimes
This commit is contained in:
@@ -68,7 +68,12 @@ def update():
|
|||||||
|
|
||||||
client = pysvn.Client()
|
client = pysvn.Client()
|
||||||
client.callback_notify = notify
|
client.callback_notify = notify
|
||||||
|
|
||||||
|
try:
|
||||||
client.update(rootDir)
|
client.update(rootDir)
|
||||||
|
except pysvn.ClientError, e:
|
||||||
|
errMsg = "unable to update sqlmap from subversion: '%s'" % str(e)
|
||||||
|
logger.error(errMsg)
|
||||||
|
|
||||||
except ImportError, _:
|
except ImportError, _:
|
||||||
debugMsg = "sqlmap will try to update itself using 'svn' command"
|
debugMsg = "sqlmap will try to update itself using 'svn' command"
|
||||||
|
|||||||
Reference in New Issue
Block a user