Skip to content

Commit

Permalink
Fixed list comprehension issue inserted by PyCharm reformatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
hover2pi committed Mar 29, 2016
1 parent 03fba9d commit 30b696f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrodbkit/astrodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def _compare_records(self, table, duplicate, options=['r', 'c', 'k', 'sql']):

while replace in columns or replace == 'help':
if replace in columns:
pprint(np.asarray([[i idx, i in enumerate(old) if idx in [0, columns.index(replace)]], \
pprint(np.asarray([[i for idx, i in enumerate(old) if idx in [0, columns.index(replace)]], \
[i for idx, i in enumerate(new) if idx in [0, columns.index(replace)]]]), \
names=['id', replace])

Expand Down

0 comments on commit 30b696f

Please sign in to comment.