summary refs log tree commit diff
path: root/synapse/events/utils.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-03-29 11:41:19 +0100
committerSean Quah <seanq@element.io>2022-04-05 11:04:28 +0100
commita7293ef16fb3ca9f1234877f1496b30cdeeb01cd (patch)
tree6465ceb2ca58f9798fbfd18fc9341000aca9d6a1 /synapse/events/utils.py
parentAdd note in changelog of non-C type locale causing Synapse to refuse to start... (diff)
downloadsynapse-a7293ef16fb3ca9f1234877f1496b30cdeeb01cd.tar.xz
Bump `black` and `click` versions (#12320)
Diffstat (limited to 'synapse/events/utils.py')
-rw-r--r--synapse/events/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py
index 7120062127..918e87ed9c 100644
--- a/synapse/events/utils.py
+++ b/synapse/events/utils.py
@@ -49,7 +49,7 @@ if TYPE_CHECKING:
 #       the literal fields "foo\" and "bar" but will instead be treated as "foo\\.bar"
 SPLIT_FIELD_REGEX = re.compile(r"(?<!\\)\.")
 
-CANONICALJSON_MAX_INT = (2 ** 53) - 1
+CANONICALJSON_MAX_INT = (2**53) - 1
 CANONICALJSON_MIN_INT = -CANONICALJSON_MAX_INT