summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 11:58:07 -0700
committerAaron M. Ucko <ucko@debian.org>2019-02-26 21:55:29 -0500
commit0fce43674c18542878552190aaee4ae723b6e9d2 (patch)
tree47b68e83b85df537ed270efebb73e5cac03cb84d
parentcea8f321ca7e7e41d128b3f045f0101f65afb91e (diff)
01-leave-env-alone
Patch-Name: 01-leave-env-alone.patch Gbp-Pq: Name 01-leave-env-alone.patch
-rw-r--r--DSV/DSV.py10
1 files 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