diff options
author | Erik Johnston <erik@matrix.org> | 2017-10-27 10:54:02 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-10-27 10:54:02 +0100 |
commit | e27b76d11728ba0fa2cbbd99ac50d33dee95da63 (patch) | |
tree | 3d2a78d5612b7247f312a62c693d86de9f0284c7 | |
parent | Fixup (diff) | |
download | synapse-e27b76d11728ba0fa2cbbd99ac50d33dee95da63.tar.xz |
Import logger
Diffstat (limited to '')
-rw-r--r-- | synapse/groups/attestations.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/groups/attestations.py b/synapse/groups/attestations.py index 4656e854f0..c060cff5dd 100644 --- a/synapse/groups/attestations.py +++ b/synapse/groups/attestations.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +import logging + from twisted.internet import defer from synapse.api.errors import SynapseError @@ -22,6 +24,9 @@ from synapse.util.logcontext import preserve_fn from signedjson.sign import sign_json +logger = logging.getLogger(__name__) + + # Default validity duration for new attestations we create DEFAULT_ATTESTATION_LENGTH_MS = 3 * 24 * 60 * 60 * 1000 |