mirror of
https://github.com/scummvm/scummvm-icons.git
synced 2025-10-28 14:32:25 -05:00
ICONS: corrected typo in run_git when changing the locale to C (#157)
This commit is contained in:
parent
ab3fb67324
commit
a924e765b5
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ def write_iconsdat(changed_files: list) -> str:
|
||||||
|
|
||||||
def run_git(*args):
|
def run_git(*args):
|
||||||
my_env = os.environ.copy()
|
my_env = os.environ.copy()
|
||||||
env["LANG"] = "C"
|
my_env["LANG"] = "C"
|
||||||
""" Executes a git command and returns the stdout (as line[])"""
|
""" Executes a git command and returns the stdout (as line[])"""
|
||||||
with subprocess.Popen(args=['git'] + list(args), stdout=subprocess.PIPE, env=my_env) as child_proc:
|
with subprocess.Popen(args=['git'] + list(args), stdout=subprocess.PIPE, env=my_env) as child_proc:
|
||||||
return child_proc.stdout.readlines()
|
return child_proc.stdout.readlines()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue