diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-25 14:08:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-25 14:08:28 +0100 |
commit | 07cad26d65dcf237643a43ff2bdfac73ca7a7257 (patch) | |
tree | 3532a82f5db52b278f7049dab9ddb53d5b3e3e25 /synapse/util | |
parent | Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility" (diff) | |
download | synapse-07cad26d65dcf237643a43ff2bdfac73ca7a7257.tar.xz |
Remove all global reactor imports & pass it around explicitly (#3424)
Diffstat (limited to 'synapse/util')
-rw-r--r-- | synapse/util/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/util/__init__.py b/synapse/util/__init__.py index 2a3df7c71d..e9886ef299 100644 --- a/synapse/util/__init__.py +++ b/synapse/util/__init__.py @@ -34,6 +34,9 @@ def unwrapFirstError(failure): class Clock(object): """ A Clock wraps a Twisted reactor and provides utilities on top of it. + + Args: + reactor: The Twisted reactor to use. """ _reactor = attr.ib() |