Skip to content

Commit

Permalink
Fix diffing long line/Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemoon committed Apr 3, 2017
1 parent 2eceaad commit 02b7dc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion normalize/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,9 @@ def compare_collection_iter(propval_a, propval_b, fs_a=None, fs_b=None,

if options.recurse:
# we can be sure that both records have these keys
shared_keys = set(rev_keys["a"].values()).intersection(rev_keys["b"].values())
set_a = set(rev_keys["a"].values())
set_b = set(rev_keys["b"].values())
shared_keys = set_a.intersection(set_b)
for key in shared_keys:
if (isinstance(propval_a, collections.Iterable) and
isinstance(propval_b, collections.Iterable)):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
install_requires=('richenum>=1.0.0',),
tests_require=('nose', 'unittest2'),
test_suite="run_tests",
version='1.0.1',
version='1.0.2',
url="http://hearsaycorp.github.io/normalize",
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit 02b7dc0

Please sign in to comment.