Revision: 2285
Author: pekka.klarck
Date: Wed Oct 7 05:54:37 2009
Log: minor cleanup
http://code.google.com/p/robotframework/source/detail?r=2285
Modified:
/trunk/src/robot/parsing/tsvreader.py
=======================================
--- /trunk/src/robot/parsing/tsvreader.py Wed Aug 12 03:45:35 2009
+++ /trunk/src/robot/parsing/tsvreader.py Wed Oct 7 05:54:37 2009
@@ -19,7 +19,7 @@
process = False
for row in tsvfile.readlines():
cells = [ self._process(cell) for cell in self._split_row(row)
]
- name = len(cells) > 0 and cells[0].strip() or ''
+ name = cells and cells[0].strip() or ''
if name.startswith('*') and
rawdata.start_table(name.replace('*','')):
process = True
elif process: