[CalendarServer-changes] [8778] CalendarServer/branches/users/glyph/case-insensitive-uid
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 29 10:15:10 PST 2012
Revision: 8778
http://trac.macosforge.org/projects/calendarserver/changeset/8778
Author: glyph at apple.com
Date: 2012-02-29 10:15:10 -0800 (Wed, 29 Feb 2012)
Log Message:
-----------
whitespace
Modified Paths:
--------------
CalendarServer/branches/users/glyph/case-insensitive-uid/twext/enterprise/dal/syntax.py
Property Changed:
----------------
CalendarServer/branches/users/glyph/case-insensitive-uid/
Modified: CalendarServer/branches/users/glyph/case-insensitive-uid/twext/enterprise/dal/syntax.py
===================================================================
--- CalendarServer/branches/users/glyph/case-insensitive-uid/twext/enterprise/dal/syntax.py 2012-02-29 18:15:06 UTC (rev 8777)
+++ CalendarServer/branches/users/glyph/case-insensitive-uid/twext/enterprise/dal/syntax.py 2012-02-29 18:15:10 UTC (rev 8778)
@@ -99,7 +99,7 @@
query. This includes the SQL dialect, the format of the place holder and
and automated id generator.
"""
-
+
def __init__(self, dialect=None, placeholder=None):
self.dialect = dialect if dialect else POSTGRES_DIALECT
if placeholder is None:
@@ -107,11 +107,13 @@
self.placeholder = placeholder
self.generatedID = count(1).next
-
+
+
def nextGeneratedID(self):
return "genid_%d" % (self.generatedID(),)
+
class TableMismatch(Exception):
"""
A table in a statement did not match with a column.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120229/c157316d/attachment.html>
More information about the calendarserver-changes
mailing list