Getting back revision number - displayed like in GitHub commits (Issue #52)

This commit is contained in:
Miroslav Stampar
2012-07-02 13:01:20 +02:00
parent add8352804
commit 8eefe4b71f
4 changed files with 23 additions and 55 deletions

View File

@@ -20,7 +20,7 @@ from lib.core.revision import getRevisionNumber
# sqlmap version and site
VERSION = "1.0-dev"
REVISION = getRevisionNumber()
VERSION_STRING = "sqlmap/%s%s" % (VERSION, " (r%s)" % REVISION if REVISION else "")
VERSION_STRING = "sqlmap/%s%s" % (VERSION, " (%s)" % REVISION if REVISION else "")
DESCRIPTION = "automatic SQL injection and database takeover tool"
SITE = "http://www.sqlmap.org"
ML = "sqlmap-users@lists.sourceforge.net"