diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-07-21 12:36:53 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-07-21 12:36:53 -0400 |
commit | b5230bc3e9d65692093cae9d2f4ca628435a382b (patch) | |
tree | 649eb8a2c42a8f8099b32cd59c0d4231c3fcfad2 /cloudinit | |
parent | 0db6078c5555cdddcd195cefdc04154e4a754dd6 (diff) | |
download | vyos-cloud-init-b5230bc3e9d65692093cae9d2f4ca628435a382b.tar.gz vyos-cloud-init-b5230bc3e9d65692093cae9d2f4ca628435a382b.zip |
fix 'make pyflakes'
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/sources/DataSourceAzure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py index d0a882ca..2ce85637 100644 --- a/cloudinit/sources/DataSourceAzure.py +++ b/cloudinit/sources/DataSourceAzure.py @@ -430,7 +430,7 @@ def write_files(datadir, files, dirmode=None): elem.text != DEF_PASSWD_REDACTION): elem.text = DEF_PASSWD_REDACTION return ET.tostring(root) - except Exception as e: + except Exception: LOG.critical("failed to redact userpassword in {}".format(fname)) return cnt |