mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +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.callback_notify = notify
|
||||
client.update(rootDir)
|
||||
|
||||
try:
|
||||
client.update(rootDir)
|
||||
except pysvn.ClientError, e:
|
||||
errMsg = "unable to update sqlmap from subversion: '%s'" % str(e)
|
||||
logger.error(errMsg)
|
||||
|
||||
except ImportError, _:
|
||||
debugMsg = "sqlmap will try to update itself using 'svn' command"
|
||||
|
||||
Reference in New Issue
Block a user