Revision: 3003
Author: jprantan
Date: Thu Apr 15 22:58:45 2010
Log: Quick fix to get results from the ci. Needs further investigation what is actually causing the problems.
http://code.google.com/p/robotframework/source/detail?r=3003

Modified:
 /trunk/src/robot/running/arguments.py
 /trunk/src/robot/running/keywords.py

=======================================
--- /trunk/src/robot/running/arguments.py       Thu Apr 15 05:45:39 2010
+++ /trunk/src/robot/running/arguments.py       Thu Apr 15 22:58:45 2010
@@ -43,8 +43,8 @@
     def _tracelog_args(self, logger, posargs, namedargs={}):
         if not logger:
             return
-        args = [ repr(a) for a in posargs ] \
- + [ '%s=%r' % (utils.unic(a), namedargs[a]) for a in namedargs ]
+        args = [ utils.unic(a) for a in posargs ] \
+ + [ '%s=%s' % (utils.unic(a), utils.unic(namedargs[a])) for a in namedargs ]
         logger.trace('Arguments: [ %s ]' % ' | '.join(args))


@@ -270,7 +270,7 @@
     def _get_arguments_as_string(self, variables):
         args = []
         for name in self.names + (self._vararg and [self._vararg] or []):
-            args.append('%s=%r' % (name, variables[name]))
+            args.append('%s=%s' % (name, utils.unic(variables[name])))
         return ' | '.join(args)


=======================================
--- /trunk/src/robot/running/keywords.py        Thu Apr 15 06:26:25 2010
+++ /trunk/src/robot/running/keywords.py        Thu Apr 15 22:58:45 2010
@@ -50,7 +50,7 @@
             output.warn("Keyword '%s' is deprecated. %s" % (name, msg))
         try:
             ret = self._run(handler, output, namespace)
-            output.trace('Return: %s' % repr(ret))
+            output.trace('Return: %s' % utils.unic(ret))
         except ExecutionFailed, err:
             self.status = 'FAIL'
         else:


--
Subscription settings: 
http://groups.google.com/group/robotframework-commit/subscribe?hl=en

Reply via email to