diff options
author | Ben Brown <benjamb@pm.me> | 2018-05-20 18:03:54 +0100 |
---|---|---|
committer | Ben Brown <benjamb@pm.me> | 2018-05-20 18:28:28 +0100 |
commit | 8d9de083c35c3e65f438895aa57e1fa73016d123 (patch) | |
tree | 46510e2de71142458ab2f042c50ea0c303e0fdc4 | |
parent | 7ee32989f7f320a0f7f7c00565ca09c5cf43b512 (diff) | |
download | lorry-controller-8d9de083c35c3e65f438895aa57e1fa73016d123.tar.gz |
Fix incorrect debug message on statedb removal
-rw-r--r-- | lorrycontroller/statedb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lorrycontroller/statedb.py b/lorrycontroller/statedb.py index 17b31dd..b2bac7e 100644 --- a/lorrycontroller/statedb.py +++ b/lorrycontroller/statedb.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2017 Codethink Limited +# Copyright (C) 2014-2018 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -645,7 +645,7 @@ class StateDB(object): yield row[0], row[1], row[2] def remove_job(self, job_id): - logging.debug('StateDB.append_to_job_output(%r,..) called', job_id) + logging.debug('StateDB.remove_job(%r,..) called', job_id) assert self.in_transaction c = self.get_cursor() c.execute('DELETE FROM jobs WHERE job_id = ?', (job_id,)) |