diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-05-07 00:22:20 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-05-07 00:22:28 -0400 |
commit | 36740d90353c92e814917a0688764875fda49558 (patch) | |
tree | a2029b8a3d5e32a622ba3f37185c78be82379548 /delivery_merge/conda.py | |
parent | 502bb16cab44aed9e36b6052f725a994b1ffab16 (diff) | |
download | delivery_merge-36740d90353c92e814917a0688764875fda49558.tar.gz |
Refactor:
* Remove git.py
* Replace duplicate code with simple wrapper
* Add README.md
* Add LICENSE.txt
Diffstat (limited to 'delivery_merge/conda.py')
-rw-r--r-- | delivery_merge/conda.py | 9 |
1 files changed, 1 insertions, 8 deletions
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) |