VirtualMailManager/handler.py
branchv0.6.x
changeset 536 c340ba4bd544
parent 533 2676dbf43e1c
child 539 5806fb74130b
--- a/VirtualMailManager/handler.py	Sat Apr 14 12:39:06 2012 +0200
+++ b/VirtualMailManager/handler.py	Sat Apr 14 14:33:21 2012 +0200
@@ -752,9 +752,6 @@
 
     def user_name(self, emailaddress, name):
         """Wrapper for Account.modify('name', ...)."""
-        if not isinstance(name, basestring) or not name:
-            raise VMMError(_(u"Could not accept name: '%s'") % name,
-                           INVALID_ARGUMENT)
         acc = self._get_account(emailaddress)
         if not acc:
             raise VMMError(_(u"The account '%s' does not exist.") %