[CalendarServer-changes] [8580] CalendarServer/branches/users/glyph/parallel-upgrade_to_1/ twistedcaldav/config.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jan 24 00:58:32 PST 2012


Revision: 8580
          http://trac.macosforge.org/projects/calendarserver/changeset/8580
Author:   glyph at apple.com
Date:     2012-01-24 00:58:32 -0800 (Tue, 24 Jan 2012)
Log Message:
-----------
hack so that configuration can be serialized for testing (i.e. with Pickle)

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/parallel-upgrade_to_1/twistedcaldav/config.py

Modified: CalendarServer/branches/users/glyph/parallel-upgrade_to_1/twistedcaldav/config.py
===================================================================
--- CalendarServer/branches/users/glyph/parallel-upgrade_to_1/twistedcaldav/config.py	2012-01-24 08:58:08 UTC (rev 8579)
+++ CalendarServer/branches/users/glyph/parallel-upgrade_to_1/twistedcaldav/config.py	2012-01-24 08:58:32 UTC (rev 8580)
@@ -152,6 +152,8 @@
         if not attr.startswith("_"):
             self.__dict__["_dirty"] = True
 
+    _dirty = False
+    _data = ()
     def __getattr__(self, attr):
         if self._dirty:
             self.update()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120124/8b918f65/attachment.html>


More information about the calendarserver-changes mailing list