VirtualMailManager/domain.py
branchv0.6.x
changeset 515 09fa019bb330
parent 510 1fa354bbdb90
child 534 6a27c7529cd7
--- a/VirtualMailManager/domain.py	Tue Apr 10 22:56:30 2012 +0200
+++ b/VirtualMailManager/domain.py	Tue Apr 10 23:50:18 2012 +0200
@@ -348,11 +348,12 @@
         self._chk_state()
         dbc = self._dbh.cursor()
         dbc.execute('SELECT aliasdomains "alias domains", accounts, aliases, '
-                    'relocated FROM vmm_domain_info WHERE gid = %s',
-                    (self._gid,))
+                    'relocated, catchall "catch-all dests" '
+                    'FROM vmm_domain_info WHERE gid = %s', (self._gid,))
         info = dbc.fetchone()
         dbc.close()
-        keys = ('alias domains', 'accounts', 'aliases', 'relocated')
+        keys = ('alias domains', 'accounts', 'aliases', 'relocated',
+                'catch-all dests')
         info = dict(zip(keys, info))
         info['gid'] = self._gid
         info['domain name'] = self._name