# HG changeset patch # User John "Elwin" Edwards # Date 1389391271 18000 # Node ID d3ccdc195796ae76a419840015560f67efd762b8 # Parent 1ddd2d950e319af7224846bbc948dbdad458614f rlgall.py: delete a few lines that got moved elsewhere diff -r 1ddd2d950e31 -r d3ccdc195796 py/rlgall.py --- a/py/rlgall.py Fri Jan 10 12:00:37 2014 -0500 +++ b/py/rlgall.py Fri Jan 10 17:01:11 2014 -0500 @@ -370,10 +370,6 @@ def putIntoDB(self, dictlist, conn): "Add the entries in dictlist to the database through connection conn, \ which needs the INSERT privilege." - fields = self.sqltypes.keys() - fstr = ", ".join(fields) - vstr = ", ".join([ "%({})s".format(c) for c in fields ]) - qstr = "INSERT INTO {0} ({1}) VALUES ({2});".format(self.uname, fstr, vstr); cur = conn.cursor() cur.executemany(self.insertq, [ d for d in dictlist if d["game"] == self ]) conn.commit()