From 11d05dd3ff877a4c77e6b7c88e7811dd51525d20 Mon Sep 17 00:00:00 2001 From: evasquez Date: Mon, 26 Aug 2013 11:03:05 -0500 Subject: nojira: Fixed pylint warning. --- cxmanage_api/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py index 5d33e64..52cfe58 100644 --- a/cxmanage_api/node.py +++ b/cxmanage_api/node.py @@ -881,8 +881,8 @@ communication. priority = max(int(x.priority, 16) for x in [first_part, active_part]) filename = temp_file() - with open(filename, "w") as f: - f.write(ubootenv.get_contents()) + with open(filename, "w") as file_: + file_.write(ubootenv.get_contents()) ubootenv_image = self.image(filename, image.type, False, image.daddr, image.skip_crc32, image.version) -- cgit v1.2.1