[CalendarServer-changes] [6788] CalendarServer/branches/users/glyph/dal/txdav/base/datastore/ sqlsyntax.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 19 13:01:21 PST 2011


Revision: 6788
          http://trac.macosforge.org/projects/calendarserver/changeset/6788
Author:   glyph at apple.com
Date:     2011-01-19 13:01:21 -0800 (Wed, 19 Jan 2011)
Log Message:
-----------
whitespace

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/dal/txdav/base/datastore/sqlsyntax.py

Modified: CalendarServer/branches/users/glyph/dal/txdav/base/datastore/sqlsyntax.py
===================================================================
--- CalendarServer/branches/users/glyph/dal/txdav/base/datastore/sqlsyntax.py	2011-01-19 21:01:11 UTC (rev 6787)
+++ CalendarServer/branches/users/glyph/dal/txdav/base/datastore/sqlsyntax.py	2011-01-19 21:01:21 UTC (rev 6788)
@@ -109,6 +109,7 @@
 
 
 class Join(object):
+
     def __init__(self, firstTable, type, secondTableOrJoin, on):
         self.firstTable = firstTable
         self.type = type
@@ -175,7 +176,6 @@
 
 
 
-
 class Comparison(object):
 
     def __init__(self, a, op, b):
@@ -213,7 +213,6 @@
 
 
 
-
 class CompoundComparison(Comparison):
     """
     A compound comparison; two or more constraints, joined by an operation
@@ -228,6 +227,7 @@
         return stmt
 
 
+
 class ColumnComparison(CompoundComparison):
     """
     Comparing two columns is the same as comparing any other two expressions,
@@ -241,12 +241,16 @@
     def subSQL(self, placeholder, quote, allTables):
         return SQLStatement(quote('*'))
 
+ALL_COLUMNS = _AllColumns()
 
 
+
 class _SomeColumns(object):
+
     def __init__(self, columns):
         self.columns = columns
 
+
     def subSQL(self, placeholder, quote, allTables):
         first = True
         cstatement = SQLStatement()
@@ -258,8 +262,8 @@
             cstatement.append(column.subSQL(placeholder, quote, allTables))
         return cstatement
 
-ALL_COLUMNS = _AllColumns()
 
+
 class Select(object):
     """
     'select' statement.
@@ -346,9 +350,15 @@
         return self
 
 
+
 class Parameter(object):
+
     def __init__(self, name):
         self.name = name
 
+
     def __repr__(self):
         return 'Parameter(%r)' % (self.name,)
+
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110119/ef6eb791/attachment-0001.html>


More information about the calendarserver-changes mailing list