Preventing obnoxious 'install git' on MacOS

This commit is contained in:
Miroslav Stampar
2016-10-10 01:35:22 +02:00
parent 2b279233b6
commit 0037c28e9e
4 changed files with 6 additions and 11 deletions

View File

@@ -53,9 +53,7 @@ def update():
stderr = getSafeExString(ex)
if success:
import lib.core.settings
_ = lib.core.settings.REVISION = getRevisionNumber()
logger.info("%s the latest revision '%s'" % ("already at" if "Already" in stdout else "updated to", _))
logger.info("%s the latest revision '%s'" % ("already at" if "Already" in stdout else "updated to", getRevisionNumber()))
else:
if "Not a git repository" in stderr:
errMsg = "not a valid git repository. Please checkout the 'sqlmapproject/sqlmap' repository "