diff options
author | evasquez <eric.vasquez@calxeda.com> | 2013-08-26 10:43:02 -0500 |
---|---|---|
committer | evasquez <eric.vasquez@calxeda.com> | 2013-08-26 10:43:02 -0500 |
commit | dadc16ebb69d09e8e4d3b3c59e3174d17a92470a (patch) | |
tree | 0120f7c1dab288fdf746e1846fcf434ecb276108 | |
parent | 04380fda7556f5b66c6f98b954a79a08c6f5044a (diff) | |
download | cxmanage-dadc16ebb69d09e8e4d3b3c59e3174d17a92470a.tar.gz |
nojira: Fixed pylint convention warning.
-rw-r--r-- | cxmanage_api/node.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py index fff4bb1..6bfd12f 100644 --- a/cxmanage_api/node.py +++ b/cxmanage_api/node.py @@ -747,8 +747,9 @@ communication. ) 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) @@ -845,7 +846,7 @@ communication. """ # Reset CDB - result = self.bmc.reset_firmware() + self.bmc.reset_firmware() # Reset ubootenv fwinfo = self.get_firmware_info() |