# HG changeset patch # User greg # Date 1526997918 14400 # Node ID fa0822e74ed3f0724e5069c8f0f97e9e864bedd2 # Parent 04ad7b5d22dd26837fcfa20ace7ce9e58bfb6908 Uploaded diff -r 04ad7b5d22dd -r fa0822e74ed3 add_scaffold.py --- a/add_scaffold.py Tue May 22 10:01:20 2018 -0400 +++ b/add_scaffold.py Tue May 22 10:05:18 2018 -0400 @@ -60,8 +60,8 @@ cur = self.conn.cursor() cur.execute(sql, args) except Exception as e: - self.fh.write("Caught exception executing SQL:\n%s\n" % sql.format(args)) - self.stop_err('Caught exception executing SQL:\n%s\nException:\n%s\n' % (sql.format(args), e)) + msg = "Caught exception executing SQL:\n%s\nException:\n%s\n" % (sql.format(args), e) + self.stop_err(msg) return cur def check_scaffold(self):