summaryrefslogtreecommitdiff
path: root/lorrycontroller/readconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'lorrycontroller/readconf.py')
-rw-r--r--lorrycontroller/readconf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lorrycontroller/readconf.py b/lorrycontroller/readconf.py
index f7a7404..4bcbce4 100644
--- a/lorrycontroller/readconf.py
+++ b/lorrycontroller/readconf.py
@@ -80,7 +80,7 @@ class ReadConfiguration(lorrycontroller.LorryControllerRoute):
logging.error(
'Unknown section in configuration: %r', section)
return (
- 'ERROR: Unknown section type in configuration: %r' %
+ 'ERROR: Unknown section type in configuration: %r' %
section)
for path in lorries_to_remove:
@@ -228,7 +228,7 @@ class ReadConfiguration(lorrycontroller.LorryControllerRoute):
pattern = os.path.join(dirname, base_pattern)
result.extend(glob.glob(pattern))
return result
-
+
def get_valid_lorry_specs(self, filename):
# We do some basic validation of the .lorry file and the Lorry
# specs contained within it. We silently ignore anything that
@@ -332,7 +332,7 @@ class LorryControllerConfValidator(object):
if type(conf_obj) is not list:
raise ValidationError(
'type %r is not a JSON list' % type(conf_obj))
-
+
def _check_is_list_of_dicts(self, conf_obj):
for item in conf_obj:
if type(item) is not dict: