summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-12-01 21:18:13 +0000
committerMark Haines <mark.haines@matrix.org>2015-12-01 21:18:13 +0000
commitae9f8cda7e3ea71f51a17c3f0f1677c780c804e5 (patch)
tree2c4190f1aca6935c781e2506342117661b8652fa
parentWrap calls to distributor.fire in appropriately named functions so that stati... (diff)
parentFix definitions script (diff)
downloadsynapse-ae9f8cda7e3ea71f51a17c3f0f1677c780c804e5.tar.xz
Merge branch 'develop' into markjh/distributor_facade
-rwxr-xr-xscripts-dev/definitions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/definitions.py b/scripts-dev/definitions.py
index f5d4cc37fd..8340c72618 100755
--- a/scripts-dev/definitions.py
+++ b/scripts-dev/definitions.py
@@ -152,7 +152,7 @@ if __name__ == '__main__':
     while referrer_depth:
         referrer_depth -= 1
         for entry in result.values():
-            for used_by in entry["used"]:
+            for used_by in entry.get("used", ()):
                 referrers.add(used_by)
         for name, definition in names.items():
             if not name in referrers: