Revision: 3538
Author: janne.t.harkonen
Date: Wed May 26 02:48:04 2010
Log: Do not allow using keyword without name
http://code.google.com/p/robotframework/source/detail?r=3538
Modified:
/trunk/src/robot/running/namespace.py
=======================================
--- /trunk/src/robot/running/namespace.py Tue May 25 09:15:59 2010
+++ /trunk/src/robot/running/namespace.py Wed May 26 02:48:04 2010
@@ -247,6 +247,8 @@
def _get_handler(self, name):
handler = None
+ if not name:
+ raise DataError('Keyword name cannot be empty.')
if '.' in name:
handler = self._get_explicit_handler(name)
if not handler: