Revision: 89a4470d99dc
Author: Pekka Klärck
Date: Wed Nov 9 14:10:48 2011
Log: Removed code that doesn't seem to be used elsewhere than in tests.
http://code.google.com/p/robotframework/source/detail?r=89a4470d99dc
Modified:
/atest/robot/test_libraries/timestamps_for_stdout_messages.txt
/src/robot/output/loggerhelper.py
=======================================
--- /atest/robot/test_libraries/timestamps_for_stdout_messages.txt Sat Jun
18 15:00:50 2011
+++ /atest/robot/test_libraries/timestamps_for_stdout_messages.txt Wed Nov
9 14:10:48 2011
@@ -28,7 +28,6 @@
[Arguments] ${msg}
Check log message ${msg} Known timestamp
Should Be Equal ${msg.timestamp} 20110618 20:43:54.931
- Should Be Equal ${msg.time} 20:43:54.931
Current timestamp should be smaller than kw end time
[Arguments] ${kw}
=======================================
--- /src/robot/output/loggerhelper.py Wed Nov 9 12:42:40 2011
+++ /src/robot/output/loggerhelper.py Wed Nov 9 14:10:48 2011
@@ -85,15 +85,6 @@
return utils.get_timestamp(daysep='', daytimesep=' ',
timesep=':', millissep='.')
- def get_timestamp(self, sep=' '):
- return self.timestamp.replace(' ', sep)
-
- @property
- def time(self):
- if ' ' not in self.timestamp:
- return self.timestamp
- return self.timestamp.split()[1]
-
class IsLogged: