diff options
Diffstat (limited to 'unit_trace/earliest.py')
-rw-r--r-- | unit_trace/earliest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_trace/earliest.py b/unit_trace/earliest.py index 2d963dc..03e08d7 100644 --- a/unit_trace/earliest.py +++ b/unit_trace/earliest.py | |||
@@ -11,7 +11,7 @@ | |||
11 | def earliest(stream, earliest): | 11 | def earliest(stream, earliest): |
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 < earliest: | 14 | if record.id < earliest: |
15 | pass | 15 | pass |
16 | else: | 16 | else: |
17 | yield record | 17 | yield record |