[sudoers] On garde la variable d'environnement PYTHONIOENCODING
Comme ça, quand on pipe un script python comme whos ou stats_cableurs, on peut choisir l'encodage de sortie, et on ne se prend pas des UnicodeDecodeError.
This commit is contained in:
parent
66b139c4c4
commit
63b8112631
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ if has("wheezy"):
|
|||
else:
|
||||
addit = ""
|
||||
|
||||
@Defaults env_keep += "DARCS_EMAIL EDITOR"
|
||||
@Defaults env_keep += "DARCS_EMAIL EDITOR PYTHONIOENCODING"
|
||||
|
||||
if has("wheezy"):
|
||||
@Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue