Revision: 2986
Author: janne.t.harkonen
Date: Thu Apr 15 00:44:49 2010
Log: Dead code
http://code.google.com/p/robotframework/source/detail?r=2986

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

=======================================
--- /trunk/src/robot/running/handlers.py        Thu Apr 15 00:44:41 2010
+++ /trunk/src/robot/running/handlers.py        Thu Apr 15 00:44:49 2010
@@ -64,7 +64,6 @@
         self.library = library
         self.name = utils.printable_name(handler_name, code_style=True)
         self.arguments = self._parse_arguments(handler_method)
- self.minargs, self.maxargs = self.arguments.minargs, self.arguments.maxargs

     def _parse_arguments(self, handler_method):
         raise NotImplementedError(self.__class__.__name__)
@@ -78,7 +77,6 @@
         self._method = library.scope == 'GLOBAL' and \
self._get_global_handler(handler_method, handler_name) or None
         self.doc = ''
- self.timeout = '' # Needed for set_attributes in runner.start_keyword

     def run(self, output, namespace, args):
         """Executes the represented handler with given 'args'.
=======================================
--- /trunk/src/robot/running/keywords.py        Wed Apr 14 02:43:31 2010
+++ /trunk/src/robot/running/keywords.py        Thu Apr 15 00:44:49 2010
@@ -42,7 +42,6 @@
             handler.init_user_keyword(namespace.variables)
         self.name = self._get_name(handler.longname, namespace.variables)
         self.doc = handler.shortdoc
-        self.timeout = str(handler.timeout)
         self.starttime = utils.get_timestamp()
         output.start_keyword(self)
         if self.doc.startswith('*DEPRECATED*'):


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

Reply via email to