You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marvin.apache.org by we...@apache.org on 2020/03/30 17:50:53 UTC
[incubator-marvin] 02/03: Delete virtualenv comment added
This is an automated email from the ASF dual-hosted git repository.
weichen pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-marvin.git
commit 35237f9f2a561439646096008cfff44a7d5f1f0b
Author: sette <br...@protonmail.com>
AuthorDate: Thu Mar 26 15:35:08 2020 -0300
Delete virtualenv comment added
---
python-toolbox/marvin_python_toolbox/management/engine.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/python-toolbox/marvin_python_toolbox/management/engine.py b/python-toolbox/marvin_python_toolbox/management/engine.py
index 9febeab..9dec2cc 100644
--- a/python-toolbox/marvin_python_toolbox/management/engine.py
+++ b/python-toolbox/marvin_python_toolbox/management/engine.py
@@ -371,7 +371,7 @@ def _get_package_name(package,type_):
return package
def _get_dir(name,package,type_):
- # Process directory/virtualenv name
+ # Process directory/virtualenv name
# Directory name should use '-' instead of '_'
dir_ = package.replace('_', '-')
@@ -502,6 +502,7 @@ def delete(name,dest,package):
# Get dest name
dest = os.path.join(dest, dir_)
+ # Delete virtualenv
venv_name = _delete_virtual_env(dir_)
try: