[CalendarServer-changes] [8777] CalendarServer/branches/users/glyph/case-insensitive-uid

source_changes at macosforge.org source_changes at macosforge.org
Wed Feb 29 10:15:07 PST 2012


Revision: 8777
          http://trac.macosforge.org/projects/calendarserver/changeset/8777
Author:   glyph at apple.com
Date:     2012-02-29 10:15:06 -0800 (Wed, 29 Feb 2012)
Log Message:
-----------
fix for issue spotted by test_sql_tables

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/case-insensitive-uid/twext/enterprise/dal/model.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/case-insensitive-uid/

Modified: CalendarServer/branches/users/glyph/case-insensitive-uid/twext/enterprise/dal/model.py
===================================================================
--- CalendarServer/branches/users/glyph/case-insensitive-uid/twext/enterprise/dal/model.py	2012-02-29 18:15:02 UTC (rev 8776)
+++ CalendarServer/branches/users/glyph/case-insensitive-uid/twext/enterprise/dal/model.py	2012-02-29 18:15:06 UTC (rev 8777)
@@ -105,7 +105,9 @@
 
     def __init__(self, syntaxExpression):
         self.expression = syntaxExpression
-        self.type = 'CHECK'
+        super(Check, self).__init__(
+            'CHECK', [c.model for c in self.expression.allColumns()]
+        )
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120229/73169704/attachment.html>


More information about the calendarserver-changes mailing list