mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
bugfix: use correct function close calls
This commit is contained in:
parent
f10de6e47b
commit
19da801665
2 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ class Zone(object):
|
|||
|
||||
node = open('%s/root/etc/nodename' % self.path, 'w')
|
||||
node.write(self.name)
|
||||
node.close
|
||||
node.close()
|
||||
|
||||
id = open('%s/root/etc/.sysIDtool.state' % self.path, 'w')
|
||||
id.write('1 # System previously configured?\n')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue