diff options
author | Neil Johnson <neil@matrix.org> | 2018-07-31 13:16:20 +0100 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-07-31 13:16:20 +0100 |
commit | df2235e7fab44a5155134a336a4c27424398c1be (patch) | |
tree | 6b16bfbf7f05e477f396a220f62fbdc8a8bfc092 /synapse/storage/schema | |
parent | fix user_ips counting (diff) | |
download | synapse-df2235e7fab44a5155134a336a4c27424398c1be.tar.xz |
coding style
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/50/make_event_content_nullable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/50/make_event_content_nullable.py b/synapse/storage/schema/delta/50/make_event_content_nullable.py index 7d27342e39..6dd467b6c5 100644 --- a/synapse/storage/schema/delta/50/make_event_content_nullable.py +++ b/synapse/storage/schema/delta/50/make_event_content_nullable.py @@ -88,5 +88,5 @@ def run_upgrade(cur, database_engine, *args, **kwargs): "UPDATE sqlite_master SET sql=? WHERE tbl_name='events' AND type='table'", (sql, ), ) - cur.execute("PRAGMA schema_version=%i" % (oldver+1,)) + cur.execute("PRAGMA schema_version=%i" % (oldver + 1,)) cur.execute("PRAGMA writable_schema=OFF") |