[CalendarServer-changes] [8654] CalendarServer/branches/users/glyph/table-alias

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 13 10:03:34 PST 2012


Revision: 8654
          http://trac.macosforge.org/projects/calendarserver/changeset/8654
Author:   glyph at apple.com
Date:     2012-02-13 10:03:34 -0800 (Mon, 13 Feb 2012)
Log Message:
-----------
just enough to make aliasing tests fail rather than error

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/table-alias/twext/enterprise/dal/syntax.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/table-alias/

Modified: CalendarServer/branches/users/glyph/table-alias/twext/enterprise/dal/syntax.py
===================================================================
--- CalendarServer/branches/users/glyph/table-alias/twext/enterprise/dal/syntax.py	2012-02-13 18:03:31 UTC (rev 8653)
+++ CalendarServer/branches/users/glyph/table-alias/twext/enterprise/dal/syntax.py	2012-02-13 18:03:34 UTC (rev 8654)
@@ -462,6 +462,10 @@
 
     modelType = Table
 
+    def alias(self):
+        return self
+
+
     def join(self, otherTableSyntax, on=None, type=''):
         if on is None:
             type = 'cross'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120213/61096264/attachment.html>


More information about the calendarserver-changes mailing list