Show also SVN revision in error message when a traceback raises.

Fix typo.
This commit is contained in:
Bernardo Damele 2008-12-01 23:49:14 +00:00
parent e75487a26c
commit f97585c593
3 changed files with 6 additions and 3 deletions

View File

@ -59,7 +59,7 @@ sqlmap (0.6.2-1) stable; urgency=low
database name, table name and column(s) are provided;
* Updated the database management system fingerprint checks to correctly
identify MySQL 5.1.x, MySQL 6.0.x and PostgreSQL 8.3;
* More user-friendly warnin messages.
* More user-friendly warning messages.
-- Bernardo Damele A. G. <bernardo.damele@gmail.com> Sun, 2 Nov 2008 19:00:00 +0000

View File

@ -26,6 +26,7 @@ Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import sys
from lib.core.settings import REVISION
from lib.core.settings import VERSION
from lib.core.settings import VERSION_STRING
@ -90,7 +91,8 @@ def unhandledException():
errMsg = "unhandled exception in %s, please copy " % VERSION_STRING
errMsg += "the command line and the following text and send by e-mail "
errMsg += "to sqlmap-users@lists.sourceforge.net. The developers will "
errMsg += "fix it as soon as possible:\nsqlmap version: %s\n" % VERSION
errMsg += "fix it as soon as possible:\nsqlmap version: %s " % VERSION
errMsg += "(SVN revision: %s)\n" % REVISION
errMsg += "Python version: %s\n" % sys.version.split()[0]
errMsg += "Operating system: %s" % sys.platform
return errMsg

View File

@ -30,7 +30,8 @@ import sys
# sqlmap version and site
VERSION = "0.6.3-rc2"
REVISION = "$Revision$"
VERSION = "0.6.3-rc3"
VERSION_STRING = "sqlmap/%s" % VERSION
SITE = "http://sqlmap.sourceforge.net"