Ignore deactivate output silencing a possible anaconda deactivate script.

Declined
#3 · Created  · Last updated

Declined pull request

Thanks for proposing this fix. I have 2 reasons for declining this specific solution. First, please submit patches to the upstream repository virtualenvwrapper/virtualenvwrapper instead of dhellmann/virtualenvwrapper. Second, I'm not comfortable with throwing away all error messages in all cases. I'm not sure why the shell script deactivate is being picked up instead of the shell function, but I would prefer to fix the solution by trying to force the use of the function and showing any errors. Otherwise the deactivation may not actually be run, which could cause problems in subsequent commands.

Closed by: ·2016-07-05

Description

With anaconda in the path it has its own deactivate which demands to be sourced. When executed it outputs an "Error".

Silencing this error seems to be ok, since the horkon function then goes on to do the right thing and also create its own deactivate.

0 attachments

0 comments

Loading commits...