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