Revision: f74136f10968
Branch: default
Author: Jussi Malinen <[email protected]>
Date: Wed May 28 11:38:32 2014 UTC
Log: cleanup
http://code.google.com/p/robotframework/source/detail?r=f74136f10968
Modified:
/src/robot/output/librarylisteners.py
=======================================
--- /src/robot/output/librarylisteners.py Wed May 28 11:31:17 2014 UTC
+++ /src/robot/output/librarylisteners.py Wed May 28 11:38:32 2014 UTC
@@ -42,4 +42,7 @@
self.is_java = self._is_java(listener)
def _get_method_names(self, name):
- return (name, self._toCamelCase(name), '_%s' % name, '_%s' %
self._toCamelCase(name))
+ return self._add_underscores(name, self._toCamelCase(name))
+
+ def _add_underscores(self, *names):
+ return list(names) + ['_%s' % name for name in names]
--
---
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/d/optout.