Revision: 45c5986c701c
Author: Janne Härkönen <[email protected]>
Date: Mon Jan 2 22:51:31 2012
Log: Comment: handle setting from empty string correctly
http://code.google.com/p/robotframework/source/detail?r=45c5986c701c
Modified:
/src/robot/parsing/settings.py
=======================================
--- /src/robot/parsing/settings.py Tue Nov 29 01:52:45 2011
+++ /src/robot/parsing/settings.py Mon Jan 2 22:51:31 2012
@@ -255,7 +255,7 @@
def __init__(self, comment_data):
if isinstance(comment_data, basestring):
- comment_data = [comment_data]
+ comment_data = [comment_data] if comment_data else []
self._comment = comment_data or []
def __len__(self):