From 7e8472332a888bde3aef2dde2a59f562f0d1f9ab Mon Sep 17 00:00:00 2001 From: BreakWa11 Date: Wed, 18 May 2016 17:05:45 +0800 Subject: [PATCH] xrange -> range --- db_transfer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_transfer.py b/db_transfer.py index 72f975c..e50e459 100644 --- a/db_transfer.py +++ b/db_transfer.py @@ -97,7 +97,7 @@ class DbTransfer(object): rows = [] for r in cur.fetchall(): d = {} - for column in xrange(len(keys)): + for column in range(len(keys)): d[keys[column]] = r[column] rows.append(d) cur.close()