From ba15fd8d7d2c434ee031013c185d53d52804a967 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 12 Jan 2012 16:55:28 +0100 Subject: [PATCH 08/13] Fix pylint warnings W0104 (statement seems to have no From: Juerg Haefliger effect) --- cloudinit/CloudConfig/cc_phone_home.py | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3