Skip to content

Commit

Permalink
removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bgol committed Nov 28, 2014
1 parent 51b6829 commit 5501dae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions commands/export_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,8 @@ def getUniqueIndex(conn, tableName):
for idxRow in idxCursor.execute("PRAGMA index_list('%s')" % tableName):
if idxRow['unique']:
# it's a unique index
unqCount = 0
unqCursor = conn.cursor()
for unqRow in unqCursor.execute("PRAGMA index_info('%s')" % idxRow['name']):
# count columns and remember the last name
unqCount += 1
unqIndex.append(unqRow['name'])
return unqIndex
return unqIndex
Expand Down

0 comments on commit 5501dae

Please sign in to comment.