diff options
author | David Robertson <davidr@element.io> | 2022-03-29 11:41:19 +0100 |
---|---|---|
committer | Sean Quah <seanq@element.io> | 2022-04-05 11:04:28 +0100 |
commit | a7293ef16fb3ca9f1234877f1496b30cdeeb01cd (patch) | |
tree | 6465ceb2ca58f9798fbfd18fc9341000aca9d6a1 /synapse/events/utils.py | |
parent | Add note in changelog of non-C type locale causing Synapse to refuse to start... (diff) | |
download | synapse-a7293ef16fb3ca9f1234877f1496b30cdeeb01cd.tar.xz |
Bump `black` and `click` versions (#12320)
Diffstat (limited to 'synapse/events/utils.py')
-rw-r--r-- | synapse/events/utils.py | 2 |
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 |