]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
venv: Suppress warning message when bash hashing is disabled. (GH-17966)
authorDima <43349662+d-goldin@users.noreply.github.com>
Tue, 14 Jan 2020 20:47:59 +0000 (21:47 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 14 Jan 2020 20:47:59 +0000 (20:47 +0000)
commit4b0d91aab4cfba30a2a9728e9eaea15dbc0ba9bd
tree12d74b5589007d18525188ddbde88251e14bf7de
parentb4cdb3f60e71888d7f3d4e0d40cb31e968ea160c
venv: Suppress warning message when bash hashing is disabled. (GH-17966)

When using python's built-in venv activaton script
warnings are printed when hashing is disabled in
bash or zsh, like;

`bash: hash: hashing disabled`

This output is not really useful to the end-user and has
been disabled in `virtualenv` for long.

This commit is based on:
https://github.com/pypa/virtualenv/commit/28e85bcd80d04b2a7ebce0e1d0b02d432b7e5593
Lib/venv/scripts/common/activate