Revision: 3563
Author: pekka.klarck
Date: Wed May 26 07:41:53 2010
Log: cleanup
http://code.google.com/p/robotframework/source/detail?r=3563

Modified:
 /trunk/src/robot/running/fixture.py
 /trunk/src/robot/running/namespace.py

=======================================
--- /trunk/src/robot/running/fixture.py Tue May 25 04:26:19 2010
+++ /trunk/src/robot/running/fixture.py Wed May 26 07:41:53 2010
@@ -29,7 +29,7 @@
             try:
                 self.name = variables.replace_string(self.name)
             except DataError, err:
-                errors.append('Replacing variables from %s failed: %s.'
+                errors.append('Replacing variables from %s failed: %s'
                               % (self.__class__.__name__, unicode(err)))
             self._keyword = Keyword(self.name, self.args,
                                     type=type(self).__name__.lower())
=======================================
--- /trunk/src/robot/running/namespace.py       Wed May 26 02:48:04 2010
+++ /trunk/src/robot/running/namespace.py       Wed May 26 07:41:53 2010
@@ -414,7 +414,7 @@
     def set_from_variable_table(self, rawvariables):
         self._suite.set_from_variable_table(rawvariables)

-    # TODO Cleanup, accumulator and return val etc.
+    # FIXME: Do we still need this?
     def replace_meta(self, name, item, errors):
         error = None
         for varz in [self.current] + self._parents:
@@ -428,7 +428,7 @@
                 return varz.replace_string(item)
             except DataError, error:
                 pass
-        errors.append("Replacing variables from setting '%s' failed: %s."
+        errors.append("Replacing variables from setting '%s' failed: %s"
                       % (name, error))
         return utils.unescape(item)

Reply via email to