summaryrefslogtreecommitdiff
path: root/cxmanage_api/node.py
diff options
context:
space:
mode:
Diffstat (limited to 'cxmanage_api/node.py')
-rw-r--r--cxmanage_api/node.py4
1 files 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)