summary refs log tree commit diff
path: root/scripts-dev/check_schema_delta.py
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2023-09-07 12:37:16 +0200
committerGitHub <noreply@github.com>2023-09-07 12:37:16 +0200
commit42a392f4e25c528c231e4768554659d4fab7129e (patch)
tree5e8202e2f01ba15027bd69475b761f9fc5665856 /scripts-dev/check_schema_delta.py
parentMerge branch 'develop' into mv/add-mxid-validation-log (diff)
parentAdd `/notifications` endpoint to workers (#16265) (diff)
downloadsynapse-42a392f4e25c528c231e4768554659d4fab7129e.tar.xz
Merge branch 'develop' into mv/add-mxid-validation-log
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)