set system language to English before running subversion program
This commit is contained in:
parent
ade6084819
commit
275a2a6e57
2 changed files with 2 additions and 0 deletions
1
AUTHORS
1
AUTHORS
|
@ -12,3 +12,4 @@ Patches and Suggestions
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
- 3onyc <3onyc@x3tech.com>
|
- 3onyc <3onyc@x3tech.com>
|
||||||
|
- userid <xixico@ymail.com>
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue