Fix a bug in the warning processor where we're supposed to be processing only the "old" warnings but are incorrectly processing all of them.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4324 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/autotest.py b/server/autotest.py
index f5af803..c35f4a1 100644
--- a/server/autotest.py
+++ b/server/autotest.py
@@ -1052,7 +1052,7 @@
# output any warnings between now and the next status line
old_warnings = [(timestamp, msg) for timestamp, msg in warnings
if timestamp < self.newest_timestamp]
- self._process_warnings(self.last_line, self.logs, warnings)
+ self._process_warnings(self.last_line, self.logs, old_warnings)
del warnings[:len(old_warnings)]
# now process the line itself
self._process_line(line)