diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 11:58:07 -0700 |
---|---|---|
committer | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 11:58:07 -0700 |
commit | 251aa46ecd5c1e4ff3811a748e47a6c309b1321f (patch) | |
tree | f44dafd6ceb9350f944b4d4adf9d24979e76aad4 | |
parent | 27f1c75f86b5816a618174e98f593e60664ec360 (diff) |
01-leave-env-alone
Patch-Name: 01-leave-env-alone.patch
-rw-r--r-- | DSV/DSV.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |