diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-01-12 16:55:28 +0100 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-01-12 16:55:28 +0100 |
commit | ba15fd8d7d2c434ee031013c185d53d52804a967 (patch) | |
tree | 93ef5324cacd8172a2eb3f319a9d8ed842e24659 | |
parent | 07abdfcfe4c4458fbf05a250f5eff81db151f4cb (diff) | |
download | vyos-cloud-init-ba15fd8d7d2c434ee031013c185d53d52804a967.tar.gz vyos-cloud-init-ba15fd8d7d2c434ee031013c185d53d52804a967.zip |
[PATCH 08/13] Fix pylint warnings W0104 (statement seems to have no
From: Juerg Haefliger <juerg.haefliger@hp.com>
effect)
-rw-r--r-- | cloudinit/CloudConfig/cc_phone_home.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_phone_home.py b/cloudinit/CloudConfig/cc_phone_home.py index 3dcec17f..7897d31b 100644 --- a/cloudinit/CloudConfig/cc_phone_home.py +++ b/cloudinit/CloudConfig/cc_phone_home.py @@ -68,7 +68,6 @@ def handle(_name,cfg,cloud,log,args): try: fp = open(path, "rb") all_keys[n] = fp.read() - all_keys[n] fp.close() except: log.warn("%s: failed to open in phone_home" % path) |