Remove redundant for loop

This commit is contained in:
Erik Johnston 2015-05-22 16:12:20 +01:00
parent 74b7de83ec
commit 6eadbfbea0
1 changed files with 0 additions and 3 deletions

View File

@ -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],