summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 11:58:07 -0700
committerSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 11:58:07 -0700
commit251aa46ecd5c1e4ff3811a748e47a6c309b1321f (patch)
treef44dafd6ceb9350f944b4d4adf9d24979e76aad4
parent27f1c75f86b5816a618174e98f593e60664ec360 (diff)
01-leave-env-alone
Patch-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