mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-28 20:39:40 +00:00
Specify write mode for confluent_uuid file
This commit is contained in:
parent
00bedf6946
commit
b1032d8c4c
@ -320,7 +320,7 @@ def initialize(cmdset):
|
||||
for rsp in c.read('/uuid'):
|
||||
uuid = rsp.get('uuid', {}).get('value', None)
|
||||
if uuid:
|
||||
with open('confluent_uuid') as uuidout:
|
||||
with open('confluent_uuid', 'w') as uuidout:
|
||||
uuidout.write(uuid)
|
||||
uuidout.write('\n')
|
||||
totar.append('confluent_uuid')
|
||||
|
Loading…
Reference in New Issue
Block a user