From: Thierry Parmentelat Date: Tue, 17 Mar 2015 20:25:35 +0000 (+0100) Subject: oops X-Git-Tag: tests-5.3-10~1 X-Git-Url: http://git.onelab.eu/?p=tests.git;a=commitdiff_plain;h=76bb4f6e5ed0dd8993334bf1488c9bc22311a48c oops --- diff --git a/system/TestNode.py b/system/TestNode.py index cdbf071..37c4dd7 100644 --- a/system/TestNode.py +++ b/system/TestNode.py @@ -217,7 +217,7 @@ class TestNode: print "dry_run: skipped actual storage of qemu.conf" return True utils.header('Storing qemu config for {} in {}'.format(self.name(), conf_filename)) - with open(conf_filename,'w') as f: + with open(conf_filename,'w') as file: file.write('MACADDR={}\n'.format(mac)) file.write('NODE_ISO={}.iso\n'.format(self.name())) file.write('HOSTNAME={}\n'.format(hostname))