File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def main():
7171 stdout , stderr = proc .communicate ()
7272
7373 if stderr :
74- msg = prepare_email ("Execution of regression test failed with error: %s" % stderr )
74+ msg = prepare_email ("Execution of regression test failed with error:\n \n %s" % stderr )
7575 send_email (msg )
7676 sys .exit (1 )
7777
@@ -112,13 +112,15 @@ def main():
112112 if parse :
113113 content += " at parsing: %s:\n \n " % parse
114114 content += "### Log file:\n \n "
115- content += "%s\n " % log
115+ content += "%s\n \n " % log
116116 elif not detected :
117117 content += " - SQL injection not detected\n \n "
118+ else :
119+ content += "\n \n "
118120
119121 if traceback :
120- content += "\n \n ### Traceback:\n \n "
121- content += "%s\n " % str (traceback )
122+ content += "### Traceback:\n \n "
123+ content += "%s\n \n " % str (traceback )
122124
123125 content += "#######################################################################\n \n "
124126
@@ -137,4 +139,3 @@ def main():
137139
138140if __name__ == "__main__" :
139141 main ()
140-
You can’t perform that action at this time.
0 commit comments