--- a/VirtualMailManager/MailLocation.py Mon Aug 18 01:56:31 2008 +0000
+++ b/VirtualMailManager/MailLocation.py Tue Aug 19 02:40:43 2008 +0000
@@ -31,13 +31,13 @@
"""
self._dbh = dbh
if mid is None and maillocation is None:
- raise MLE((_('Either mid or maillocation must be specified.'),
- ERR.MAILLOCATION_INIT))
+ raise MLE(_('Either mid or maillocation must be specified.'),
+ ERR.MAILLOCATION_INIT)
elif mid is not None:
try:
self.__id = long(mid)
except ValueError:
- raise MLE((_('mid must be an int/long.'),ERR.MAILLOCATION_INIT))
+ raise MLE(_('mid must be an int/long.'), ERR.MAILLOCATION_INIT)
self._loadByID()
else:
self.__maillocation = maillocation
@@ -52,7 +52,7 @@
if result is not None:
self.__maillocation = result[0]
else:
- raise MLE((_('Unknown mid specified.'),ERR.UNKNOWN_MAILLOCATION_ID))
+ raise MLE(_('Unknown mid specified.'), ERR.UNKNOWN_MAILLOCATION_ID)
def _loadByName(self):
dbc = self._dbh.cursor()