VirtualMailManager/Account.py
changeset 144 4c6aa6c29dd7
parent 138 617f27715b01
child 145 ead2a7e9f8be
--- a/VirtualMailManager/Account.py	Sat Sep 05 18:01:04 2009 +0000
+++ b/VirtualMailManager/Account.py	Sat Sep 05 18:46:33 2009 +0000
@@ -210,8 +210,7 @@
         dbc.close()
         aliases = []
         if len(addresses) > 0:
-            for alias in addresses:
-                aliases.append(alias[0])
+            aliases = [alias[0] for alias in addresses]
         return aliases
 
     def delete(self, delalias):