Wikidata-lib/PropertySuggester-Python — pull request #14 by mariushoch (2014-12-12 16:33:37+00:00)
Title: Check for empty reference snak list/dict in JsonReader

File "[...]/propertysuggester/parser/JsonReader.py", line 47, in _process_json
for ref_id, snaks in reference["snaks"].iteritems():
AttributeError: 'list' object has no attribute 'iteritems'