summaryrefslogtreecommitdiffstats
path: root/unit_trace/latest.py
diff options
context:
space:
mode:
Diffstat (limited to 'unit_trace/latest.py')
-rw-r--r--unit_trace/latest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_trace/latest.py b/unit_trace/latest.py
index 4abd3a2..38676a0 100644
--- a/unit_trace/latest.py
+++ b/unit_trace/latest.py
@@ -11,7 +11,7 @@
11def latest(stream, latest): 11def latest(stream, latest):
12 for record in stream: 12 for record in stream:
13 if record.record_type=="event": 13 if record.record_type=="event":
14 if record.when > latest: 14 if record.id > latest:
15 break 15 break
16 else: 16 else:
17 yield record 17 yield record