Revision: 3835
Author: pekka.klarck
Date: Tue Aug 17 07:06:38 2010
Log: ooooops, i did it again
http://code.google.com/p/robotframework/source/detail?r=3835

Modified:
 /trunk/src/robot/parsing/datarow.py

=======================================
--- /trunk/src/robot/parsing/datarow.py Tue Aug 17 06:03:08 2010
+++ /trunk/src/robot/parsing/datarow.py Tue Aug 17 07:06:38 2010
@@ -79,7 +79,7 @@
         data = []
         comments = []
         for cell in row:
-            cell = self._collape_whitespace(cell)
+            cell = self._collapse_whitespace(cell)
             if cell.startswith('#') and not comments:
                 comments.append(cell[1:])
             elif comments:
@@ -88,7 +88,7 @@
                 data.append(cell)
return self._purge_empty_cells(data), self._purge_empty_cells(comments)

-    def _collapse_whitespace(self, row):
+    def _collapse_whitespace(self, cell):
         return self._whitespace_regexp.sub(' ', cell).strip()

     def _purge_empty_cells(self, row):

Reply via email to