sobjects/notification.py
changeset 4023 eae23c40627a
parent 3890 d7a270f50f54
child 4230 6514a76eaa5c
--- a/sobjects/notification.py	Tue Dec 08 10:40:20 2009 +0100
+++ b/sobjects/notification.py	Tue Dec 08 10:58:56 2009 +0100
@@ -15,7 +15,7 @@
 
 from cubicweb.selectors import yes
 from cubicweb.view import Component
-from cubicweb.common.mail import NotificationView, SkipEmail
+from cubicweb.mail import NotificationView, SkipEmail
 from cubicweb.server.hook import SendMailOp
 
 
@@ -185,9 +185,9 @@
 
 from logilab.common.deprecation import class_renamed, class_moved, deprecated
 from cubicweb.hooks.notification import RenderAndSendNotificationView
-from cubicweb.common.mail import parse_message_id
+from cubicweb.mail import parse_message_id
 
 NormalizedTextView = class_renamed('NormalizedTextView', ContentAddedView)
 RenderAndSendNotificationView = class_moved(RenderAndSendNotificationView)
-parse_message_id = deprecated('parse_message_id is now defined in cubicweb.common.mail')(parse_message_id)
+parse_message_id = deprecated('parse_message_id is now defined in cubicweb.mail')(parse_message_id)