Minor cosmetic fixes

This commit is contained in:
Bernardo Damele 2010-10-18 11:34:53 +00:00
parent 1a9aabf49d
commit 1d74036ee3
2 changed files with 10 additions and 6 deletions

View File

@ -46,8 +46,8 @@ def action():
errMsg += ". Do not specify the back-end DBMS manually, " errMsg += ". Do not specify the back-end DBMS manually, "
errMsg += "sqlmap will fingerprint the DBMS for you" errMsg += "sqlmap will fingerprint the DBMS for you"
else: else:
errMsg += ". Support for this DBMS will be implemented if " errMsg += ". Support for this DBMS will be implemented at "
errMsg += "you ask, just drop us an email" errMsg += "some point"
raise sqlmapUnsupportedDBMSException, errMsg raise sqlmapUnsupportedDBMSException, errMsg

View File

@ -68,10 +68,14 @@ class sqlmapValueException(Exception):
pass pass
def unhandledException(): def unhandledException():
errMsg = "unhandled exception in %s, please copy " % VERSION_STRING errMsg = "unhandled exception in %s, retry your " % VERSION_STRING
errMsg += "the command line and the following text and send by e-mail " errMsg += "run with the latest development version from the Subversion "
errMsg += "to sqlmap-users@lists.sourceforge.net. The developers will " errMsg += "repository. If the exception persists, please send by e-mail "
errMsg += "fix it as soon as possible:\nsqlmap version: %s\n" % VERSION errMsg += "to sqlmap-users@lists.sourceforge.net the command line, the "
errMsg += "following text and any information needed to reproduce the "
errMsg += "bug. The developers will try to reproduce the bug, fix it "
errMsg += "accordingly and get back to you.\n"
errMsg += "sqlmap version: %s\n" % VERSION
errMsg += "Python version: %s\n" % PYVERSION errMsg += "Python version: %s\n" % PYVERSION
errMsg += "Operating system: %s" % PLATFORM errMsg += "Operating system: %s" % PLATFORM
return errMsg return errMsg