Merge pull request #19 from bh/master

More Python > 3.x support
This commit is contained in:
Vineet Naik 2014-07-01 23:18:24 +05:30
commit 8c38bbb47c
1 changed files with 2 additions and 2 deletions

View File

@ -102,10 +102,10 @@ def confusing_deps(req_map):
"""
deps = defaultdict(list)
for p, rs in req_map.iteritems():
for p, rs in req_map.items():
for r in rs:
deps[r.key].append((p, r))
return [ps for r, ps in deps.iteritems()
return [ps for r, ps in deps.items()
if len(ps) > 1
and has_multi_versions(d for p, d in ps)]