[CalendarServer-changes] [2778] CalendarServer/branches/users/sagen/mailgateway-implicit-2745/ twistedcaldav/mail.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 6 15:15:43 PDT 2008


Revision: 2778
          http://trac.macosforge.org/projects/calendarserver/changeset/2778
Author:   sagen at apple.com
Date:     2008-08-06 15:15:42 -0700 (Wed, 06 Aug 2008)
Log Message:
-----------
Log token creation

Modified Paths:
--------------
    CalendarServer/branches/users/sagen/mailgateway-implicit-2745/twistedcaldav/mail.py

Modified: CalendarServer/branches/users/sagen/mailgateway-implicit-2745/twistedcaldav/mail.py
===================================================================
--- CalendarServer/branches/users/sagen/mailgateway-implicit-2745/twistedcaldav/mail.py	2008-08-06 22:10:26 UTC (rev 2777)
+++ CalendarServer/branches/users/sagen/mailgateway-implicit-2745/twistedcaldav/mail.py	2008-08-06 22:15:42 UTC (rev 2778)
@@ -262,7 +262,7 @@
 
 
 
-class MailGatewayTokensDatabase(AbstractSQLDatabase):
+class MailGatewayTokensDatabase(AbstractSQLDatabase, LoggingMixIn):
     """
     A database to maintain "plus-address" tokens for IMIP requests.
 
@@ -292,6 +292,7 @@
             """, token, organizer, attendee
         )
         self._db_commit()
+        self.log_info("Mail gateway created token %s for %s (organizer) and %s (attendee)" % (token, organizer, attendee))
         return token
 
     def lookupByToken(self, token):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080806/a1a83d37/attachment.html 


More information about the calendarserver-changes mailing list