Merge pull request #2196 from codyopel/py3/fromfilename

fromfilename: fix dict view conversion for python3 (fix #2195)
This commit is contained in:
Johnny Robeson 2016-09-12 21:53:18 -04:00 committed by GitHub
commit 7c33d6858c

View file

@ -101,7 +101,7 @@ def apply_matches(d):
"""Given a mapping from items to field dicts, apply the fields to
the objects.
"""
some_map = d.values()[0]
some_map = list(d.values())[0]
keys = some_map.keys()
# Only proceed if the "tag" field is equal across all filenames.