From 7ed2c28fb3df00954f36afdb8489536db2946f24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9-Patrick=20Bubel?= Date: Tue, 31 May 2016 07:26:05 +0000 Subject: [PATCH] Convert dict_keys to List for Python 3 compatibility --- scripts/order-symlinks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/order-symlinks.py b/scripts/order-symlinks.py index 250c1cbdb..34f7e189b 100755 --- a/scripts/order-symlinks.py +++ b/scripts/order-symlinks.py @@ -44,7 +44,8 @@ def create_symlinks(d): data = loadJson(d) outDir = prepare_output(d) - unseen = data["pages"].keys() + unseen = list(data["pages"].keys()) + while len(unseen) > 0: latest = work = unseen[0] while work in unseen: