Revision: 54b46cd617cc
Branch:   default
Author:   Jussi Malinen <[email protected]>
Date:     Thu Nov 28 12:25:23 2013 UTC
Log:      fix handling arguments on java standalone jar
http://code.google.com/p/robotframework/source/detail?r=54b46cd617cc

Modified:
 /src/robot/utils/argumentparser.py

=======================================
--- /src/robot/utils/argumentparser.py  Mon Nov 18 21:39:35 2013 UTC
+++ /src/robot/utils/argumentparser.py  Thu Nov 28 12:25:23 2013 UTC
@@ -124,7 +124,8 @@
         are wrapped to Information exception.
         """
         if self._env_options:
- args_list = os.getenv(self._env_options, '').split() + args_list
+            # args_list is java String[] when using standalone jar
+ args_list = os.getenv(self._env_options, '').split() + list(args_list)
         args_list = [decode_from_system(a) for a in args_list]
         if self._auto_argumentfile:
             args_list = self._process_possible_argfile(args_list)

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to