summaryrefslogtreecommitdiff
path: root/cloudinit/config/schema.py
diff options
context:
space:
mode:
authorParide Legovini <paride.legovini@canonical.com>2019-01-30 15:38:56 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-01-30 15:38:56 +0000
commit94a64529dccebd8fe8c7969370b8696e46023fbd (patch)
tree24028bb1e5f2ff24a4f605887381c14659f02a67 /cloudinit/config/schema.py
parent8ee294d567c071fff1f9567e968ba73602308192 (diff)
downloadvyos-cloud-init-94a64529dccebd8fe8c7969370b8696e46023fbd.tar.gz
vyos-cloud-init-94a64529dccebd8fe8c7969370b8696e46023fbd.zip
Resolve flake8 comparison and pycodestyle over-ident issues
Fixes: - flake8: use ==/!= to compare str, bytes, and int literals - pycodestyle: E117 over-indented
Diffstat (limited to 'cloudinit/config/schema.py')
-rw-r--r--cloudinit/config/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/schema.py b/cloudinit/config/schema.py
index 080a6d06..807c3eee 100644
--- a/cloudinit/config/schema.py
+++ b/cloudinit/config/schema.py
@@ -367,7 +367,7 @@ def handle_schema_args(name, args):
if not args.annotate:
error(str(e))
except RuntimeError as e:
- error(str(e))
+ error(str(e))
else:
print("Valid cloud-config file {0}".format(args.config_file))
if args.doc: