Revision: 3001
Author: janne.t.harkonen
Date: Thu Apr 15 05:45:39 2010
Log: java args need minargs, maxargs
http://code.google.com/p/robotframework/source/detail?r=3001

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

=======================================
--- /trunk/src/robot/running/arguments.py       Thu Apr 15 05:30:46 2010
+++ /trunk/src/robot/running/arguments.py       Thu Apr 15 05:45:39 2010
@@ -26,9 +26,9 @@
     _type = 'Keyword'

     def __init__(self, argument_source, kw_or_lib_name):
-        self.names, self.defaults, self.varargs, minargs, maxargs \
+ self.names, self.defaults, self.varargs, self.minargs, self.maxargs \
             = self._determine_args(argument_source)
-        self._arg_limit_checker = _ArgLimitChecker(minargs, maxargs,
+ self._arg_limit_checker = _ArgLimitChecker(self.minargs, self.maxargs, kw_or_lib_name, self._type)

     def resolve(self, args, variables, output=None):
=======================================
--- /trunk/src/robot/running/timeouts.py        Tue Mar 30 04:42:34 2010
+++ /trunk/src/robot/running/timeouts.py        Thu Apr 15 05:45:39 2010
@@ -20,7 +20,6 @@


 class _Timeout:
-
     _defaults = ('', -1, None)

     def __init__(self, *params):


--
To unsubscribe, reply using "remove me" as the subject.

Reply via email to