set system language to English before running subversion program

This commit is contained in:
Alan Hamlett 2014-01-14 05:02:51 -08:00
parent ade6084819
commit 275a2a6e57
2 changed files with 2 additions and 0 deletions

View file

@ -12,3 +12,4 @@ Patches and Suggestions
----------------------- -----------------------
- 3onyc <3onyc@x3tech.com> - 3onyc <3onyc@x3tech.com>
- userid <xixico@ymail.com>

View file

@ -41,6 +41,7 @@ class Subversion(BaseProject):
info = OrderedDict() info = OrderedDict()
stdout = None stdout = None
try: try:
os.environ['LANG'] = 'en_US'
stdout, stderr = Popen([ stdout, stderr = Popen([
'svn', 'info', os.path.realpath(path) 'svn', 'info', os.path.realpath(path)
], stdout=PIPE, stderr=PIPE).communicate() ], stdout=PIPE, stderr=PIPE).communicate()