diff options
author | David Baker <dbkr@matrix.org> | 2014-11-20 17:49:48 +0000 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-11-20 17:49:48 +0000 |
commit | f1c7f8e8131d6e5531e23e3bc2cd57ab7d1881ae (patch) | |
tree | b1ebd402c0805f475500c9f36a0356322bf26f13 /synapse/crypto/event_signing.py | |
parent | Separate out the matrix http client completely because just about all of its ... (diff) | |
parent | Fix pep8 codestyle warnings (diff) | |
download | synapse-f1c7f8e8131d6e5531e23e3bc2cd57ab7d1881ae.tar.xz |
Merge branch 'develop' into http_client_refactor
Diffstat (limited to 'synapse/crypto/event_signing.py')
-rw-r--r-- | synapse/crypto/event_signing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/event_signing.py b/synapse/crypto/event_signing.py index 4dff2c0ec2..a9d8953239 100644 --- a/synapse/crypto/event_signing.py +++ b/synapse/crypto/event_signing.py @@ -30,7 +30,7 @@ logger = logging.getLogger(__name__) def check_event_content_hash(event, hash_algorithm=hashlib.sha256): """Check whether the hash for this PDU matches the contents""" computed_hash = _compute_content_hash(event, hash_algorithm) - logging.debug("Expecting hash: %s", encode_base64(computed_hash.digest())) + logger.debug("Expecting hash: %s", encode_base64(computed_hash.digest())) if computed_hash.name not in event.hashes: raise SynapseError( 400, |