mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
cosmetics
This commit is contained in:
parent
e9dea8d394
commit
f3cead1729
|
@ -71,7 +71,7 @@ def main():
|
||||||
stdout, stderr = proc.communicate()
|
stdout, stderr = proc.communicate()
|
||||||
|
|
||||||
if stderr:
|
if stderr:
|
||||||
msg = prepare_email("Execution of regression test failed with error: %s" % stderr)
|
msg = prepare_email("Execution of regression test failed with error:\n\n%s" % stderr)
|
||||||
send_email(msg)
|
send_email(msg)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
@ -112,13 +112,15 @@ def main():
|
||||||
if parse:
|
if parse:
|
||||||
content += " at parsing: %s:\n\n" % parse
|
content += " at parsing: %s:\n\n" % parse
|
||||||
content += "### Log file:\n\n"
|
content += "### Log file:\n\n"
|
||||||
content += "%s\n" % log
|
content += "%s\n\n" % log
|
||||||
elif not detected:
|
elif not detected:
|
||||||
content += " - SQL injection not detected\n\n"
|
content += " - SQL injection not detected\n\n"
|
||||||
|
else:
|
||||||
|
content += "\n\n"
|
||||||
|
|
||||||
if traceback:
|
if traceback:
|
||||||
content += "\n\n### Traceback:\n\n"
|
content += "### Traceback:\n\n"
|
||||||
content += "%s\n" % str(traceback)
|
content += "%s\n\n" % str(traceback)
|
||||||
|
|
||||||
content += "#######################################################################\n\n"
|
content += "#######################################################################\n\n"
|
||||||
|
|
||||||
|
@ -137,4 +139,3 @@ def main():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user