From 63712a09fffa79807ad30cc618567c58414485ef Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 27 Oct 2008 23:20:57 +0000 Subject: [PATCH] Yet another bug found while reviewing docs The newer_than variable can be either None or an int, and we normalize it to an integer previously and save it in the 'serial' variable, which should be used instead. Reviewed-by: imsnah --- lib/jqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jqueue.py b/lib/jqueue.py index 86c3d8633..a3ef74836 100644 --- a/lib/jqueue.py +++ b/lib/jqueue.py @@ -185,7 +185,7 @@ class _QueuedJob(object): entries = [] for op in self.ops: - entries.extend(filter(lambda entry: entry[0] > newer_than, op.log)) + entries.extend(filter(lambda entry: entry[0] > serial, op.log)) return entries -- GitLab