Dealt with SVN update login traceback. Need to investigate further why it asks for credentials sometimes

This commit is contained in:
Bernardo Damele 2011-06-16 10:11:11 +00:00
parent 63d98d8ce6
commit f515c9c9e0

View File

@ -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"