diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 11:58:07 -0700 |
---|---|---|
committer | Aaron M. Ucko <ucko@debian.org> | 2019-02-26 21:55:29 -0500 |
commit | 0fce43674c18542878552190aaee4ae723b6e9d2 (patch) | |
tree | 47b68e83b85df537ed270efebb73e5cac03cb84d | |
parent | cea8f321ca7e7e41d128b3f045f0101f65afb91e (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.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 |