grim/local-pipelines
Clone
Summary
Browse
Changes
Graph
core: defer os.environ look up
2016-07-27, Sean Farley
2d3235e9d66f
Parents
4931db80e429
Children
f5dcfe140c79
core: defer os.environ look up
When building the docker command, we will look up os.environ vars on the
fly so this is no longer needed and will behave closer to what 'docker
run' actually does.
1 files changed, 0 insertions(+), 4 deletions(-)
+0
-4
pipelines/core.py
--- a/pipelines/core.py Wed Jul 27 17:09:39 2016 -0700
+++ b/pipelines/core.py Wed Jul 27 17:11:13 2016 -0700
@@ -84,10 +84,6 @@
v = None
if len(kv) > 1:
v = kv[1].strip()
- else:
- # the variable was passed as "-e FOO" so we should grab "FOO" from the
- # environment
- v = os.environ.get(k, "")
return k, v