Convert dict_keys to List for Python 3 compatibility

This commit is contained in:
André-Patrick Bubel 2016-05-31 07:26:05 +00:00
parent eafe5fcf24
commit 7ed2c28fb3

View file

@ -44,7 +44,8 @@ def create_symlinks(d):
data = loadJson(d) data = loadJson(d)
outDir = prepare_output(d) outDir = prepare_output(d)
unseen = data["pages"].keys() unseen = list(data["pages"].keys())
while len(unseen) > 0: while len(unseen) > 0:
latest = work = unseen[0] latest = work = unseen[0]
while work in unseen: while work in unseen: