diff roundup/backends/back_mysql.py @ 5919:d789c28db503

issue2551025: try handling operational error exception in close #3 Got something that worked last time. Remove debugging print statement. return travis config to normal.
author John Rouillard <rouilj@ieee.org>
date Sun, 13 Oct 2019 13:52:44 -0400
parents 10fb641f5152
children 3175bb92ca28
line wrap: on
line diff
--- a/roundup/backends/back_mysql.py	Sun Oct 13 13:37:29 2019 -0400
+++ b/roundup/backends/back_mysql.py	Sun Oct 13 13:52:44 2019 -0400
@@ -591,7 +591,6 @@
         # It looks like you can get an OperationalError 2006
         # raised for closing a closed handle.
         except MySQLdb.OperationalError as message:
-            print str(message)
             if str(message) != "(2006, '')":  # close connection
                 raise
         except MySQLdb.ProgrammingError as message:

Roundup Issue Tracker: http://roundup-tracker.org/