mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-22 19:04:30 +03:00
better message in case of update error
This commit is contained in:
parent
5a8fc44119
commit
164c8a4020
|
@ -71,7 +71,14 @@ def update():
|
|||
try:
|
||||
client.update(rootDir)
|
||||
except pysvn.ClientError, e:
|
||||
errMsg = "unable to update sqlmap from subversion: '%s'" % str(e)
|
||||
errMsg = "unable to update sqlmap from subversion: '%s'. " % str(e)
|
||||
errMsg += "You are strongly advised to checkout "
|
||||
errMsg += "the clean copy from repository manually "
|
||||
if IS_WIN:
|
||||
errMsg += "(e.g. Right click -> TortoiseSVN -> Checkout... and type "
|
||||
errMsg += "\"https://svn.sqlmap.org/sqlmap/trunk/sqlmap\" into field \"URL of repository\")"
|
||||
else:
|
||||
errMsg += "(e.g. \"svn checkout https://svn.sqlmap.org/sqlmap/trunk/sqlmap sqlmap-dev\")"
|
||||
logger.error(errMsg)
|
||||
|
||||
except ImportError, _:
|
||||
|
|
Loading…
Reference in New Issue
Block a user