SVN: r20325 - in trunk/quixote: . doc

akuchlin-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected] Tue, 21 Jan 2003 14:09:41 -0500
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Author: akuchlin
Date: 2003-01-21 14:09:40 -0500 (Tue, 21 Jan 2003)
New Revision: 20325

Modified:
   trunk/quixote/doc/programming.txt
   trunk/quixote/sendmail.py
Log:
Remove MX references

Modified: trunk/quixote/doc/programming.txt
==============================================================================
--- trunk/quixote/doc/programming.txt	(original)
+++ trunk/quixote/doc/programming.txt	2003-01-21 14:09:41.000000000 -0500
@@ -318,9 +318,9 @@
     def _q_access (request):
         if request.session.user is None:
             raise NotLoggedInError("You must be signed in.")
-        if not (request.session.user.is_MX() or
+        if not (request.session.user.is_admin() or
                 request.session.user.is_fab()):
-            raise MXAccessError("You don't have access to the reports page.")
+            raise AccessError("You don't have access to the reports page.")
 
 This is less error-prone than having to remember to add checks to 
 every single public function.

Modified: trunk/quixote/sendmail.py
==============================================================================
--- trunk/quixote/sendmail.py	(original)
+++ trunk/quixote/sendmail.py	2003-01-21 14:09:41.000000000 -0500
@@ -286,7 +286,7 @@
     #         from_addr="[email protected]",
     #         smtp_recipients=["gward-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]"])
 
-    p.config.mail_from = ("webmaster-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]", "MX Webmaster")
+    p.config.mail_from = ("webmaster-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]", "Webmaster")
     p.config.mail_debug_addr = "gward-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]"
     sendmail(["[email protected]"], s, b,
              smtp_recipients=["[email protected]", "[email protected]"])