mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 01:53:45 +01:00
Fix definitions script
This commit is contained in:
parent
a2922bb944
commit
5d321e4b9a
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ if __name__ == '__main__':
|
||||||
while referrer_depth:
|
while referrer_depth:
|
||||||
referrer_depth -= 1
|
referrer_depth -= 1
|
||||||
for entry in result.values():
|
for entry in result.values():
|
||||||
for used_by in entry["used"]:
|
for used_by in entry.get("used", ()):
|
||||||
referrers.add(used_by)
|
referrers.add(used_by)
|
||||||
for name, definition in names.items():
|
for name, definition in names.items():
|
||||||
if not name in referrers:
|
if not name in referrers:
|
||||||
|
|
Loading…
Reference in a new issue