use simpler form for iter to list

This commit is contained in:
Christophe Benz 2010-08-31 08:52:57 +02:00 committed by Romain Bignon
commit 96e706db31
8 changed files with 12 additions and 12 deletions

View file

@ -29,5 +29,5 @@ class AuMTest(BackendTest):
for message in self.backend.iter_unread_messages():
pass
contacts = [c for c in self.backend.iter_contacts()]
contacts = list(self.backend.iter_contacts())
self.backend.fillobj(contacts[0], ['photos', 'profile'])