author | Tobias Berling <t-obi@users.sourceforge.net> |
Mon, 17 Jan 2011 19:33:18 +0100 | |
branch | v0.6.x |
changeset 370 | 1b1f8f0cc687 |
parent 369 | 4dfc5f3c1f2c |
child 371 | 3b2fd0b4e51b |
--- 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)