From 36740d90353c92e814917a0688764875fda49558 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 7 May 2019 00:22:20 -0400 Subject: Refactor: * Remove git.py * Replace duplicate code with simple wrapper * Add README.md * Add LICENSE.txt --- delivery_merge/conda.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'delivery_merge/conda.py') diff --git a/delivery_merge/conda.py b/delivery_merge/conda.py index 57d715e..709dbaf 100644 --- a/delivery_merge/conda.py +++ b/delivery_merge/conda.py @@ -71,11 +71,4 @@ def conda_env_load(env_name): def conda(*args): - command = ['conda'] - tmp = [] - for arg in args: - tmp += arg.split() - - command += tmp - print(f'Running: {" ".join(command)}') - return run(command, capture_output=True) + return sh('conda', *args) -- cgit