diff options
author | kaiyou <pierre@jaury.eu> | 2018-05-02 20:22:41 +0200 |
---|---|---|
committer | kaiyou <pierre@jaury.eu> | 2018-05-02 20:22:41 +0200 |
commit | 9a779c2ddb88f875d3ceec4ff02bdb922a0c57c6 (patch) | |
tree | 1034b986ea37a081707b489cb3ebe6e4d584defe /synapse/util/logcontext.py | |
parent | Make the logging level configurable (diff) | |
parent | missing word :| (diff) | |
download | synapse-9a779c2ddb88f875d3ceec4ff02bdb922a0c57c6.tar.xz |
Merge remote-tracking branch 'upstream/master' into feat-dockerfile
Diffstat (limited to 'synapse/util/logcontext.py')
-rw-r--r-- | synapse/util/logcontext.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/util/logcontext.py b/synapse/util/logcontext.py index d660ec785b..d59adc236e 100644 --- a/synapse/util/logcontext.py +++ b/synapse/util/logcontext.py @@ -92,6 +92,7 @@ class LoggingContext(object): def __nonzero__(self): return False + __bool__ = __nonzero__ # python3 sentinel = Sentinel() |