Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f97585c

Browse files
committed
Show also SVN revision in error message when a traceback raises.
Fix typo.
1 parent e75487a commit f97585c

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

doc/ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ sqlmap (0.6.2-1) stable; urgency=low
5959
database name, table name and column(s) are provided;
6060
* Updated the database management system fingerprint checks to correctly
6161
identify MySQL 5.1.x, MySQL 6.0.x and PostgreSQL 8.3;
62-
* More user-friendly warnin messages.
62+
* More user-friendly warning messages.
6363

6464
-- Bernardo Damele A. G. <[email protected]> Sun, 2 Nov 2008 19:00:00 +0000
6565

lib/core/exception.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
import sys
2828

29+
from lib.core.settings import REVISION
2930
from lib.core.settings import VERSION
3031
from lib.core.settings import VERSION_STRING
3132

@@ -90,7 +91,8 @@ def unhandledException():
9091
errMsg = "unhandled exception in %s, please copy " % VERSION_STRING
9192
errMsg += "the command line and the following text and send by e-mail "
9293
errMsg += "to [email protected]. The developers will "
93-
errMsg += "fix it as soon as possible:\nsqlmap version: %s\n" % VERSION
94+
errMsg += "fix it as soon as possible:\nsqlmap version: %s " % VERSION
95+
errMsg += "(SVN revision: %s)\n" % REVISION
9496
errMsg += "Python version: %s\n" % sys.version.split()[0]
9597
errMsg += "Operating system: %s" % sys.platform
9698
return errMsg

lib/core/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030

3131

3232
# sqlmap version and site
33-
VERSION = "0.6.3-rc2"
33+
REVISION = "$Revision$"
34+
VERSION = "0.6.3-rc3"
3435
VERSION_STRING = "sqlmap/%s" % VERSION
3536
SITE = "http://sqlmap.sourceforge.net"
3637

0 commit comments

Comments
 (0)