[Scummvm-git-logs] scummvm-icons master -> ab3fb67324698a1bad8c6d345353d985f5fc9752
GandalfTheWhite80
noreply at scummvm.org
Sat Mar 5 19:53:05 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-icons' repo located at https://github.com/scummvm/scummvm-icons .
Summary:
ab3fb67324 changed gen-set.py (using lang Thx @gu3)
Commit: ab3fb67324698a1bad8c6d345353d985f5fc9752
https://github.com/scummvm/scummvm-icons/commit/ab3fb67324698a1bad8c6d345353d985f5fc9752
Author: Stefan (71585967+GandalfTheWhite80 at users.noreply.github.com)
Date: 2022-03-05T20:52:54+01:00
Commit Message:
changed gen-set.py (using lang Thx @gu3)
Changed paths:
gen-set.py
diff --git a/gen-set.py b/gen-set.py
index 0bf68c2..9c553e0 100644
--- a/gen-set.py
+++ b/gen-set.py
@@ -250,7 +250,7 @@ def is_scummvmicons_repo(output_showorigin: list) -> bool:
""" Checks if the local repo is a scummvm-icons repo"""
for line in output_showorigin:
# should be the correct repo
- if ': https://github.com/scummvm/scummvm-icons' in line.decode(ENCODING):
+ if 'Fetch URL: https://github.com/scummvm/scummvm-icons' in line.decode(ENCODING):
return True
return False
@@ -347,8 +347,10 @@ def write_iconsdat(changed_files: list) -> str:
def run_git(*args):
+ my_env = os.environ.copy()
+ env["LANG"] = "C"
""" Executes a git command and returns the stdout (as line[])"""
- with subprocess.Popen(args=['git'] + list(args), stdout=subprocess.PIPE) as child_proc:
+ with subprocess.Popen(args=['git'] + list(args), stdout=subprocess.PIPE, env=my_env) as child_proc:
return child_proc.stdout.readlines()
###########
More information about the Scummvm-git-logs
mailing list