Skip to content

Commit 02983a4

Browse files
committed
Change log on local farm backend
1 parent ba3545e commit 02983a4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

localfarm/localFarmBackend.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,9 @@ def startTask(self, task: Task):
359359
log.write(f"# ========== Starting task {task.tid} at {task.started_at.isoformat()}" \
360360
f" (command=\"{task.command}\") ==========\n")
361361
log.write(f"# process_env:\n")
362-
for _k, _v in process_env.items():
362+
log.write(f"# Additional env variables:\n")
363+
for _k, _v in additional_env.items():
363364
log.write(f"# - {str(_k)}={str(_v)}\n")
364-
# log.write(f"# Additional env variables:\n")
365-
# for _k, _v in additional_env.items():
366-
# log.write(f"# - {str(_k)}={str(_v)}\n")
367365
log.write(f"\n")
368366
task.process = subprocess.Popen(
369367
task.command,

0 commit comments

Comments
 (0)