[Checkins] SVN: z3c.table/trunk/src/z3c/table/table.py fixed some typos

Michael Howitz mh at gocept.com
Sat Feb 7 08:40:06 EST 2009


Log message for revision 96204:
  fixed some typos

Changed:
  U   z3c.table/trunk/src/z3c/table/table.py

-=-
Modified: z3c.table/trunk/src/z3c/table/table.py
===================================================================
--- z3c.table/trunk/src/z3c/table/table.py	2009-02-07 12:02:27 UTC (rev 96203)
+++ z3c.table/trunk/src/z3c/table/table.py	2009-02-07 13:40:05 UTC (rev 96204)
@@ -38,9 +38,9 @@
 def getSortMethod(idx):
     def getSortKey(item):
         sublist = item[idx]
-        def getCloumnSortKey(sublist):
+        def getColumnSortKey(sublist):
             return sublist[1].getSortKey(sublist[0])
-        return getCloumnSortKey(sublist)
+        return getColumnSortKey(sublist)
     return getSortKey
 
 
@@ -280,7 +280,7 @@
         # use batch values from request or the existing ones
         self.batchSize = self.getBatchSize()
         self.batchStart = self.getBatchStart()
-        # use srting values from request or the existing ones
+        # use sorting values from request or the existing ones
         self.sortOn = self.getSortOn()
         self.sortOrder = self.getSortOrder()
 
@@ -305,10 +305,10 @@
         self.updateBatch()
 
     def render(self):
-        
+
         # allow to use a template for rendering the table, this will allow
         # to position the batch before and after the table
-        
+
         return self.renderTable()
 
     def __repr__(self):
@@ -317,9 +317,9 @@
 
 class SequenceTable(Table):
     """Sequence table adapts a sequence as context.
-    
+
     This table can be used for adapting a z3c.indexer.search.ResultSet or
-    z3c.batching.batch.Batch instance as context. Batch which wraps a 
+    z3c.batching.batch.Batch instance as context. Batch which wraps a
     ResultSet sequence.
     """
 



More information about the Checkins mailing list