diff options
Diffstat (limited to 'morphlib/plugins/deploy_plugin.py')
-rw-r--r-- | morphlib/plugins/deploy_plugin.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py index ef607ffe..edc4a81a 100644 --- a/morphlib/plugins/deploy_plugin.py +++ b/morphlib/plugins/deploy_plugin.py @@ -303,13 +303,7 @@ class DeployPlugin(cliapp.Plugin): system_tree=system_tree) # Set up environment for running extensions. - env = dict(os.environ) - for spec in env_vars: - name, value = spec.split('=', 1) - if name in env: - raise morphlib.Error( - '%s is already set in the enviroment' % name) - env[name] = value + env = morphlib.util.parse_environment_pairs(os.environ, env_vars) # Extensions get a private tempdir so we can more easily clean # up any files an extension left behind |