diff -r b6c4e77046b9 -r 8e9b0046bc8f VirtualMailManager/domain.py --- a/VirtualMailManager/domain.py Mon Sep 03 22:40:01 2012 +0000 +++ b/VirtualMailManager/domain.py Wed Sep 05 21:30:42 2012 +0000 @@ -462,8 +462,8 @@ """Returns a list with all catchall e-mail addresses of the domain.""" self._chk_state() dbc = self._dbh.cursor() - dbc.execute('SELECT DISTINCT destination FROM catchall WHERE gid = %s ORDER ' - 'BY destination', (self._gid,)) + dbc.execute('SELECT DISTINCT destination FROM catchall WHERE gid = %s ' + 'ORDER BY destination', (self._gid,)) addresses = dbc.fetchall() dbc.close() return addresses