VirtualMailManager/Alias.py
branchv0.6.x
changeset 295 18086c6a2521
parent 290 e2785e04f92e
child 316 31d8931dc535
--- a/VirtualMailManager/Alias.py	Tue May 18 07:00:21 2010 +0000
+++ b/VirtualMailManager/Alias.py	Sun Jul 04 16:41:34 2010 +0000
@@ -42,7 +42,7 @@
         dbc = self._dbh.cursor()
         dbc.execute('SELECT destination FROM alias WHERE gid = %s AND '
                     'address = %s', self._gid, self._addr.localpart)
-        dests = iter(dbc.fetchall())
+        dests = dbc.fetchall()
         if dbc.rowcount > 0:
             self._dests.extend(EmailAddress(dest[0]) for dest in dests)
         dbc.close()