Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyao committed Apr 19, 2013
1 parent dd62742 commit da23e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyapns/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def remember_recent_notifications(self, notifications):
if len(self.recent_notification_idents) >= self.recent_notifications_to_keep:
removed_ident = self.recent_notification_idents.popleft()
removed_note = self.recent_notifications.pop(removed_ident)
self.internal_idents.pop(removed_note.internal_ident)
self.internal_idents.pop(removed_note.internal_identifier)

# create a new internal identifier and map the notification to it
internal_ident = self.get_next_ident()
Expand Down

1 comment on commit da23e3e

@troppoli
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmmm just bumped into this problem myself, thx Jiajun

Please sign in to comment.