VirtualMailManager/ext/Postconf.py
branchv0.6.x
changeset 223 5c7b7cbb01cd
parent 216 0c8c053b451c
child 290 e2785e04f92e
--- a/VirtualMailManager/ext/Postconf.py	Sun Feb 28 20:51:34 2010 +0000
+++ b/VirtualMailManager/ext/Postconf.py	Mon Mar 01 02:31:03 2010 +0000
@@ -71,8 +71,7 @@
 
     def __readMulti(self, parameters):
         cmd = [self.__bin]
-        for parameter in parameters:
-            cmd.append(parameter[1:])
+        cmd.extend(parameter[1:] for parameter in parameters)
         out, err = Popen(cmd, stdout=PIPE, stderr=PIPE).communicate()
         if len(err):
             raise VMMError(err.strip(), ERR.VMM_ERROR)