We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d754dbf commit 166fb36Copy full SHA for 166fb36
murdock/task.py
@@ -45,8 +45,12 @@ def __repr__(self):
45
def _docker_cmd_args(self):
46
def _escape_env_value(value):
47
return value.replace("'", "\\'").replace('"', '\\"')
48
+
49
env_to_docker = " ".join(
- [f"--env {key}='{_escape_env_value(value)}'" for key, value in self.env.items()]
50
+ [
51
+ f"--env {key}='{_escape_env_value(value)}'"
52
+ for key, value in self.env.items()
53
+ ]
54
)
55
volumes = GLOBAL_CONFIG.docker_volumes.copy()
56
host_job_work_dir = os.path.join(GLOBAL_CONFIG.host_work_dir, self.job_uid)
0 commit comments