Skip to content

Commit

Permalink
Baselined from internal Repository
Browse files Browse the repository at this point in the history
last_commit:c8bf599603cb6817d949bafd69a0ac56d45c5216
  • Loading branch information
GVE Devnet Admin committed Apr 26, 2024
1 parent 636360a commit a1a3b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def modify_yml(map_templates_to_devices):
my_data=loaded[0]['roles']
r=len(my_data)
my_data.append({'role':'attach_device_template','vars':{'DeviceTemplateList':{t['templateName']:[{'csv-deviceId':'XYZ'}]}}})
with open("testPetrol.yml", 'w') as stream:
with open(YML_FILE, 'w') as stream:
try:
yaml.dump(loaded, stream, default_flow_style=False)
except yaml.YAMLError as exc:
Expand Down

0 comments on commit a1a3b13

Please sign in to comment.