diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-08-10 20:13:12 +0100 |
---|---|---|
committer | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-08-10 20:20:52 +0100 |
commit | b796eb8031342f8815506f69e5c19d97cccdfa03 (patch) | |
tree | e6c1e1a06fcca1d241be27f3b199c94dfcfa53ad | |
parent | a78d5086d9f0eabe9234ba3db5d15bd728512376 (diff) | |
download | lorry-controller-b796eb8031342f8815506f69e5c19d97cccdfa03.tar.gz |
Delete unused module imports
Various modules are imported and not used.
Caught by pyflakes.
-rwxr-xr-x | lorry-controller-remove-old-jobs | 1 | ||||
-rw-r--r-- | lorrycontroller/gitano.py | 1 | ||||
-rw-r--r-- | lorrycontroller/gitlab.py | 1 | ||||
-rw-r--r-- | lorrycontroller/jobupdate.py | 1 | ||||
-rw-r--r-- | lorrycontroller/maxjobs.py | 2 | ||||
-rw-r--r-- | lorrycontroller/pretendtime.py | 6 | ||||
-rw-r--r-- | lorrycontroller/removeghostjobs.py | 3 |
7 files changed, 0 insertions, 15 deletions
diff --git a/lorry-controller-remove-old-jobs b/lorry-controller-remove-old-jobs index 78b5596..a69e505 100755 --- a/lorry-controller-remove-old-jobs +++ b/lorry-controller-remove-old-jobs @@ -20,7 +20,6 @@ import json import logging import time import urllib.request, urllib.error, urllib.parse -import contextlib import cliapp diff --git a/lorrycontroller/gitano.py b/lorrycontroller/gitano.py index 46174ad..8587737 100644 --- a/lorrycontroller/gitano.py +++ b/lorrycontroller/gitano.py @@ -22,7 +22,6 @@ import urllib.request, urllib.error, urllib.parse import cliapp import requests -import lorrycontroller from . import hosts diff --git a/lorrycontroller/gitlab.py b/lorrycontroller/gitlab.py index 266861c..bb603de 100644 --- a/lorrycontroller/gitlab.py +++ b/lorrycontroller/gitlab.py @@ -22,7 +22,6 @@ to the targetted group. ''' import logging -import re import urllib.parse try: diff --git a/lorrycontroller/jobupdate.py b/lorrycontroller/jobupdate.py index ec7e533..0b86b63 100644 --- a/lorrycontroller/jobupdate.py +++ b/lorrycontroller/jobupdate.py @@ -15,7 +15,6 @@ import logging -import time import bottle diff --git a/lorrycontroller/maxjobs.py b/lorrycontroller/maxjobs.py index ce594c2..3f766a4 100644 --- a/lorrycontroller/maxjobs.py +++ b/lorrycontroller/maxjobs.py @@ -15,8 +15,6 @@ import logging -import os -import time import bottle diff --git a/lorrycontroller/pretendtime.py b/lorrycontroller/pretendtime.py index 3fd1a70..8a34d0d 100644 --- a/lorrycontroller/pretendtime.py +++ b/lorrycontroller/pretendtime.py @@ -14,15 +14,9 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -import errno -import glob -import json import logging -import os -import re import bottle -import cliapp import lorrycontroller diff --git a/lorrycontroller/removeghostjobs.py b/lorrycontroller/removeghostjobs.py index 2b2760c..81ff014 100644 --- a/lorrycontroller/removeghostjobs.py +++ b/lorrycontroller/removeghostjobs.py @@ -15,9 +15,6 @@ import logging -import time - -import bottle import lorrycontroller |