From 0ed10c73c9359c48f88295dd4d298d14c056a108 Mon Sep 17 00:00:00 2001 From: BreakWa11 Date: Sun, 24 Jul 2016 17:11:05 +0800 Subject: [PATCH] remove dup close --- db_transfer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/db_transfer.py b/db_transfer.py index fe6ece7..5749e3e 100644 --- a/db_transfer.py +++ b/db_transfer.py @@ -415,7 +415,6 @@ class Dbv3Transfer(DbTransfer): rows = [] cur.close() conn.commit() - conn.close() return rows cur.close()