# HG changeset patch
# User Pascal Volk <user@localhost.localdomain.org>
# Date 1355065186 0
# Node ID 29295afafa91695ef5dbf2bb320662911d788b3a
# Parent  86c2ed36aba89ed1a2e4be186a15b9b15b765c89
VMM/account: Fixed a typo in Account.delete().

Due to a wrong placed comma `userdelete … force' ended in a TypeError.

diff -r 86c2ed36aba8 -r 29295afafa91 VirtualMailManager/account.py
--- a/VirtualMailManager/account.py	Wed Nov 21 12:53:56 2012 +0000
+++ b/VirtualMailManager/account.py	Sun Dec 09 14:59:46 2012 +0000
@@ -440,7 +440,7 @@
         self._chk_state()
         dbc = self._dbh.cursor()
         if force:
-            dbc.execute('DELETE FROM users WHERE uid = %s', (self._uid),)
+            dbc.execute('DELETE FROM users WHERE uid = %s', (self._uid,))
             # delete also all aliases where the destination address is the same
             # as for this account.
             dbc.execute("DELETE FROM alias WHERE destination = %s",