summary refs log tree commit diff
path: root/scripts-dev/check_schema_delta.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-08-18 11:06:02 +0100
committerErik Johnston <erik@matrix.org>2023-08-18 11:06:02 +0100
commitde16789d877e434f9df2477ef3247fcee6bd8433 (patch)
treee443889dc1ef9df4fa881b7ccf128b2bd837d069 /scripts-dev/check_schema_delta.py
parentMerge remote-tracking branch 'origin/release-v1.90' into matrix-org-hotfixes (diff)
parentAdd cache to `get_server_keys_json_for_remote` (#16123) (diff)
downloadsynapse-de16789d877e434f9df2477ef3247fcee6bd8433.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'scripts-dev/check_schema_delta.py')
-rwxr-xr-xscripts-dev/check_schema_delta.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/check_schema_delta.py b/scripts-dev/check_schema_delta.py

index fee4a8bd3d..467be96fdf 100755 --- a/scripts-dev/check_schema_delta.py +++ b/scripts-dev/check_schema_delta.py
@@ -43,7 +43,7 @@ def main(force_colors: bool) -> None: diffs: List[git.Diff] = repo.remote().refs.develop.commit.diff(None) # Get the schema version of the local file to check against current schema on develop - with open("synapse/storage/schema/__init__.py", "r") as file: + with open("synapse/storage/schema/__init__.py") as file: local_schema = file.read() new_locals: Dict[str, Any] = {} exec(local_schema, new_locals)