Fix incorrect attribute name

This commit is contained in:
Erik Johnston 2016-09-09 17:36:56 +01:00
parent 464ffd1b5e
commit af4701b311
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class TransactionQueue(object):
if key: if key:
self.pending_edus_keyed_by_dest.setdefault( self.pending_edus_keyed_by_dest.setdefault(
destination, {} destination, {}
)[(edu.type, key)] = edu )[(edu.edu_type, key)] = edu
else: else:
self.pending_edus_by_dest.setdefault(destination, []).append(edu) self.pending_edus_by_dest.setdefault(destination, []).append(edu)