[CalendarServer-changes] [9154] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Thu Apr 19 13:44:55 PDT 2012


Revision: 9154
          http://trac.macosforge.org/projects/calendarserver/changeset/9154
Author:   cdaboo at apple.com
Date:     2012-04-19 13:44:55 -0700 (Thu, 19 Apr 2012)
Log Message:
-----------
Fix missing imports.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/__init__.py
    CalendarServer/trunk/txdav/__init__.py

Modified: CalendarServer/trunk/twistedcaldav/__init__.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/__init__.py	2012-04-19 20:20:48 UTC (rev 9153)
+++ CalendarServer/trunk/twistedcaldav/__init__.py	2012-04-19 20:44:55 UTC (rev 9154)
@@ -1,6 +1,6 @@
 # -*- test-case-name: twistedcaldav -*-
 ##
-# Copyright (c) 2005-2011 Apple Inc. All rights reserved.
+# Copyright (c) 2005-2012 Apple Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -21,6 +21,10 @@
 See RFC 4791.
 """
 
+# Make sure we have twext's required Twisted patches loaded before we do
+# anything at all.
+__import__("twext")
+
 #
 # Load in suitable file extension/content-type map from OS X
 #

Modified: CalendarServer/trunk/txdav/__init__.py
===================================================================
--- CalendarServer/trunk/txdav/__init__.py	2012-04-19 20:20:48 UTC (rev 9153)
+++ CalendarServer/trunk/txdav/__init__.py	2012-04-19 20:44:55 UTC (rev 9154)
@@ -1,6 +1,6 @@
 # -*- test-case-name: txdav -*-
 ##
-# Copyright (c) 2010 Apple Inc. All rights reserved.
+# Copyright (c) 2010-2012 Apple Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -18,3 +18,8 @@
 """
 WebDAV support for Twisted.
 """
+
+# Make sure we have twext's required Twisted patches loaded before we do
+# anything at all.
+__import__("twext")
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120419/a159e2dd/attachment.html>


More information about the calendarserver-changes mailing list