aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/util.py
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2006-07-12 18:27:02 +0000
committerAndreas Hasenack <andreas@mandriva.com>2006-07-12 18:27:02 +0000
commit85c8197d97c5d592feb022134fe99d95cbef1386 (patch)
tree66b3134660b4951e1146736477fa5e5d1260c057 /RepSys/util.py
parent4c71bf31119a8599e2d77a15481c9449d26a4d0f (diff)
downloadmgarepo-85c8197d97c5d592feb022134fe99d95cbef1386.tar
mgarepo-85c8197d97c5d592feb022134fe99d95cbef1386.tar.gz
mgarepo-85c8197d97c5d592feb022134fe99d95cbef1386.tar.bz2
mgarepo-85c8197d97c5d592feb022134fe99d95cbef1386.tar.xz
mgarepo-85c8197d97c5d592feb022134fe99d95cbef1386.zip
import fix to #23597 done in V1_5_X branchtopic/pysvn-support
Diffstat (limited to 'RepSys/util.py')
-rw-r--r--RepSys/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/util.py b/RepSys/util.py
index d539b81..8c66199 100644
--- a/RepSys/util.py
+++ b/RepSys/util.py
@@ -29,7 +29,7 @@ def execcmd(*cmd, **kwargs):
status = os.system(cmdstr)
output = ""
else:
- status, output = commands_getstatusoutput("LANG=C "+cmdstr)
+ status, output = commands_getstatusoutput("LANG=C LANGUAGE=C LC_ALL=C "+cmdstr)
if status != 0 and not kwargs.get("noerror"):
raise Error, "command failed: %s\n%s\n" % (cmdstr, output)
if config.getbool("global", "verbose", 0):