Revision: 3643
Author: pekka.klarck
Date: Fri May 28 05:41:20 2010
Log: args must nowadays be list
http://code.google.com/p/robotframework/source/detail?r=3643

Modified:
 /trunk/src/robot/libraries/BuiltIn.py

=======================================
--- /trunk/src/robot/libraries/BuiltIn.py       Fri May 28 05:18:31 2010
+++ /trunk/src/robot/libraries/BuiltIn.py       Fri May 28 05:41:20 2010
@@ -1214,7 +1214,7 @@
         | Import Library | ${CURDIR}/Library.py | some | args |
| Import Library | ${CURDIR}/../libs/Lib.java | arg | WITH NAME | JavaLib |
         """
-        NAMESPACES.current.import_library(name.replace('/', os.sep), args)
+ NAMESPACES.current.import_library(name.replace('/', os.sep), list(args))

     def import_variables(self, path, *args):
"""Imports a variable file with the given path and optional arguments.

Reply via email to