diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-12-01 21:17:58 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-12-01 21:17:58 +0000 |
commit | 5d321e4b9a80665306b36c7d3fedcd27b40f1900 (patch) | |
tree | 0c674f4b455be1fafc822481c8eadb38eb22cdab /scripts-dev/definitions.py | |
parent | Merge pull request #392 from matrix-org/markjh/client_config (diff) | |
download | synapse-5d321e4b9a80665306b36c7d3fedcd27b40f1900.tar.xz |
Fix definitions script
Diffstat (limited to '')
-rwxr-xr-x | scripts-dev/definitions.py | 2 |
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: |