From 97eab7997dc553d5dbd15d15c33eda7258d89c04 Mon Sep 17 00:00:00 2001 From: Martijn Vermaat <martijn@vermaat.name> Date: Wed, 29 Jan 2014 10:32:40 +0100 Subject: [PATCH] Typo --- mutalyzer/db/queries.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mutalyzer/db/queries.py b/mutalyzer/db/queries.py index f5ab7be3..afdd2a44 100644 --- a/mutalyzer/db/queries.py +++ b/mutalyzer/db/queries.py @@ -3,6 +3,10 @@ Queries on database models. """ +# Todo: Some (all) of these are probably better defined as class methods on +# the models they work with. + + from datetime import datetime, timedelta from sqlalchemy import and_, or_ @@ -17,7 +21,7 @@ def pop_batch_queue_item(batch_job): Get the next batch queue item for the given batch job. Return its fields as a tuple `item`, `flags` and remove it from the database. - If not batch queue item could be found for this batch job, return `None`. + If no batch queue item could be found for this batch job, return `None`. .. note:: Originally, finding the next batch queue item was done using a more complicated query:: -- GitLab