Revision: 69bc2201e7ac
Branch: default
Author: Mikko Korpela <mikko.korp...@gmail.com>
Date: Fri Jan 31 12:34:45 2014 UTC
Log: Application: Public API for parsing command line arguments
Update issue 1618
Status: Started
http://code.google.com/p/robotframework/source/detail?r=69bc2201e7ac
Modified:
/src/robot/utils/application.py
=======================================
--- /src/robot/utils/application.py Thu Jan 23 14:00:53 2014 UTC
+++ /src/robot/utils/application.py Fri Jan 31 12:34:45 2014 UTC
@@ -59,7 +59,7 @@
def _parse_arguments(self, cli_args):
try:
- options, arguments = self._ap.parse_args(cli_args)
+ options, arguments = self.parse_arguments(cli_args)
except Information, msg:
self._report_info(unicode(msg))
except DataError, err:
@@ -68,6 +68,9 @@
self._logger.info('Arguments: %s' % ','.join(arguments))
return options, arguments
+ def parse_arguments(self, cli_args):
+ return self._ap.parse_args(cli_args)
+
def execute(self, *arguments, **options):
with self._logging():
return self._execute(list(arguments), options)
--
---
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 robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.