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>
- userid <xixico@ymail.com>

View File

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