diff options
author | Christophe de Vienne <cdevienne@gmail.com> | 2013-11-13 18:11:55 +0100 |
---|---|---|
committer | Christophe de Vienne <cdevienne@gmail.com> | 2013-11-13 18:11:55 +0100 |
commit | abbc4eced3f413d92b0d007f30d37d74b25dce40 (patch) | |
tree | a42456d2be3d281fe0dec17629f07fa8252ada69 /bin | |
parent | 9e859c4f6436385d937bb96b949bc66cf6c18bab (diff) | |
download | logilab-common-abbc4eced3f413d92b0d007f30d37d74b25dce40.tar.gz |
Use 'env' to run the interpreter.
The drawback is that we cannot use the unbuffered outputs (-u) but I am not so sure it is an issue.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pytest | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/python -u +#!/usr/bin/env python import warnings warnings.simplefilter('default', DeprecationWarning) |