branch | v0.6.x |
changeset 370 | 1b1f8f0cc687 |
parent 366 | d6573da35b5f |
child 379 | 7518d927d443 |
--- a/VirtualMailManager/alias.py Mon Jan 17 17:21:06 2011 +0100 +++ b/VirtualMailManager/alias.py Mon Jan 17 19:33:18 2011 +0100 @@ -127,7 +127,7 @@ dbc = self._dbh.cursor() dbc.executemany("INSERT INTO alias VALUES (%d, '%s', %%s)" % (self._gid, self._addr.localpart), - (str(destination) for destination in destinations)) + ((str(destination),) for destination in destinations)) self._dbh.commit() dbc.close() self._dests.extend(destinations)