We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
save_config
1 parent 0f14f35 commit 025451bCopy full SHA for 025451b
src/incatools/odk/cli.py
@@ -321,7 +321,8 @@ def seed(
321
322
tgt_project_file = "{}/project.yaml".format(outdir)
323
if project.export_project_yaml:
324
- save_config(project, tgt_project_file)
+ with open(tgt_project_file, "w") as f:
325
+ save_config(project, f)
326
tgts.append(tgt_project_file)
327
if source is not None:
328
copy(
@@ -335,7 +336,8 @@ def seed(
335
336
if config is not None:
337
copy(config, odk_config_file)
338
else:
- save_config(project, odk_config_file)
339
+ with open(odk_config_file, "w") as f:
340
341
logging.info("Created files:")
342
for tgt in tgts:
343
logging.info(" File: {}".format(tgt))
0 commit comments