VirtualMailManager/Account.py
changeset 3 a9b44e04bf01
parent 0 bb0aa2102206
child 4 f3c30b7421b9
--- a/VirtualMailManager/Account.py	Tue Jan 08 21:35:40 2008 +0000
+++ b/VirtualMailManager/Account.py	Wed Jan 09 14:47:30 2008 +0000
@@ -4,7 +4,7 @@
 # See COPYING for distribution information.
 # $Id$
 
-"""Virtual Mail Manager's Account class to manage email accounts."""
+"""Virtual Mail Manager's Account class to manage e-mail accounts."""
 
 __author__ = 'Pascal Volk <p.volk@veb-it.de>'
 __version__ = 'rev '+'$Rev$'.split()[1]
@@ -15,7 +15,7 @@
 import constants.ERROR as ERR
 
 class Account:
-    """Class to manage email accounts."""
+    """Class to manage e-mail accounts."""
     def __init__(self, dbh, basedir, address, password=None):
         self._dbh = dbh
         self._base = basedir
@@ -31,7 +31,7 @@
         self._exists()
         if self._isAlias():
             raise VMMAccountException(
-            ('There is already an alias with address «%s»' % address,
+            ('There is already an alias with address »%s«' % address,
                 ERR.ALIAS_EXISTS))
 
     def _exists(self):
@@ -63,7 +63,7 @@
         self._gid = dom.getID()
         self._base = dom.getDir()
         if self._gid == 0:
-            raise VMMAccountException(("Domain %s doesn't exist." % d,
+            raise VMMAccountException(("Domain »%s« doesn't exist." % d,
                 ERR.NO_SUCH_DOMAIN))
 
     def _setID(self):