summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testrepository/results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testrepository/results.py b/testrepository/results.py
index 8938314..ed01856 100644
--- a/testrepository/results.py
+++ b/testrepository/results.py
@@ -29,7 +29,7 @@ class SummarizingResult(StreamSummary):
self._last_time = None
def status(self, *args, **kwargs):
- if 'timestamp' in kwargs:
+ if kwargs.get('timestamp') is not None:
timestamp = kwargs['timestamp']
if self._last_time is None:
self._first_time = timestamp