diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-22 16:12:20 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-22 16:12:20 +0100 |
commit | 6eadbfbea0f8eb742f94d73e262631b0877e3dee (patch) | |
tree | e804fc954f4e1d46e082b8d04a56a93b6c11e7b6 /synapse | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/backfill_f... (diff) | |
download | synapse-6eadbfbea0f8eb742f94d73e262631b0877e3dee.tar.xz |
Remove redundant for loop
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/federation_client.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index cbb9d354b6..d3b46b24c1 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -165,9 +165,6 @@ class FederationClient(FederationBase): for p in transaction_data["pdus"] ] - for i, pdu in enumerate(pdus): - pdus[i] = yield self._check_sigs_and_hash(pdu) - # FIXME: We should handle signature failures more gracefully. pdus[:] = yield defer.gatherResults( [self._check_sigs_and_hash(pdu) for pdu in pdus], |