diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-05-01 05:38:56 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-05-01 05:38:56 -0400 |
commit | 96854d720d4bd356181acfa093744599a807ea8e (patch) | |
tree | 8617f48d840137d94bed1958da4ebef7587e2bca /tools/validate-yaml.py | |
parent | 5ab9a1349db2286fca96681e00480d04bfd4473d (diff) | |
download | vyos-cloud-init-96854d720d4bd356181acfa093744599a807ea8e.tar.gz vyos-cloud-init-96854d720d4bd356181acfa093744599a807ea8e.zip |
fix 'Make pyflakes'
Diffstat (limited to 'tools/validate-yaml.py')
-rwxr-xr-x | tools/validate-yaml.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/validate-yaml.py b/tools/validate-yaml.py index eda59cb8..6e164590 100755 --- a/tools/validate-yaml.py +++ b/tools/validate-yaml.py @@ -4,7 +4,6 @@ """ import sys - import yaml @@ -17,7 +16,7 @@ if __name__ == "__main__": yaml.safe_load(fh.read()) fh.close() sys.stdout.write(" - ok\n") - except Exception, e: + except Exception as e: sys.stdout.write(" - bad (%s)\n" % (e)) bads += 1 if bads > 0: |