From daaa4dcfc9c834801f49c681535b5378c8685b33 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 6 Dec 2006 02:27:48 +0000 Subject: [PATCH] string exceptions not supported any more... git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@173 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/mailbox/imap_mailbox/MailboxURL.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/mailbox/imap_mailbox/MailboxURL.py b/apps/mailbox/imap_mailbox/MailboxURL.py index 95f67182..c00f05eb 100644 --- a/apps/mailbox/imap_mailbox/MailboxURL.py +++ b/apps/mailbox/imap_mailbox/MailboxURL.py @@ -1,13 +1,9 @@ import re -class InvalidMailboxURL(Exception): - - value = "" - +class InvalidMailboxURL(Exception): def __init__(self,value): self.value = value - Exception.__init__(value) def __str__(self): return repr(self.value)