Revert "catch cursor close"

This reverts commit f5d6ad62b3.
This commit is contained in:
Clint Armstrong
2015-09-14 09:41:03 -04:00
parent f5d6ad62b3
commit 0b4645e3ea
+1 -4
View File
@@ -96,10 +96,7 @@ class DB:
self.connect()
except (AttributeError, MySQLdb.ProgrammingError):
log.warning('WARNING: MySQL Programming Error during query, attempting query again.')
try:
cursor.close()
except:
pass
cursor.close()
def get_config_data():