Download:
child 158:e5f7af8bbcbe
parent 156:c19330ec9795
157:1770e08a2431
Anton Shestakov <av6@dwimlabs.net>, Mon, 18 Jul 2016 14:04:01 +0800
checker: set LC_ALL for git

1 файлов изменено, 3 вставок(+), 1 удалений(-) [+]
checker.py file | annotate | diff | comparison | revisions
--- a/checker.py Mon Jul 18 14:03:30 2016 +0800
+++ b/checker.py Mon Jul 18 14:04:01 2016 +0800
@@ -148,7 +148,9 @@
print('# C&O task: clone')
print('# C&O project URL: {}'.format(config['url']))
- if config['scm'] == 'hg':
+ if config['scm'] == 'git':
+ os.environ['LC_ALL'] = 'en_US.UTF-8'
+ elif config['scm'] == 'hg':
os.environ['HGPLAIN'] = '1'
if config['scm'] == 'git':