[Python-modules-commits] [python-dsv] 04/12: leave-env-alone

Aaron M. Ucko ucko at moszumanska.debian.org
Wed Jan 25 03:44:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

ucko pushed a commit to branch master
in repository python-dsv.

commit 799e6da93b9492433b5dfb365aa306788b25900f
Author: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Date:   Wed Aug 27 23:33:10 2014 -0400

    leave-env-alone
    
    ===================================================================
    
    Gbp-Pq: Name 01-leave-env-alone.patch
---
 DSV/DSV.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/DSV/DSV.py b/DSV/DSV.py
index 24fd6a1..8ba7f1e 100644
--- a/DSV/DSV.py
+++ b/DSV/DSV.py
@@ -127,11 +127,11 @@ import re
 import copy
 import exceptions
 import string
-# RedHat 8.0 (or rather GTK2?) sets LANG = en_us.UTF-8 and apparently some
-# older apps (including wxGTK) can't handle this.  The fix is to set LANG=C
-# before running the app.  Thanks to Ahmad Baitalmal for supplying this info.
-import os
-os.putenv('LANG', 'C')
+## RedHat 8.0 (or rather GTK2?) sets LANG = en_us.UTF-8 and apparently some
+## older apps (including wxGTK) can't handle this.  The fix is to set LANG=C
+## before running the app.  Thanks to Ahmad Baitalmal for supplying this info.
+# import os
+# os.putenv('LANG', 'C')
 
 try:
     from wxPython import wx, grid

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-dsv.git



More information about the Python-modules-commits mailing list