Don't choke on spaces in filenames in run_checks.py
This commit is contained in:
parent
3de113ee8c
commit
00fb7b8f68
@ -149,7 +149,7 @@ def check_git():
|
||||
gitst = subprocess.check_output(['git', 'status', '--porcelain'])
|
||||
gitst = gitst.decode('UTF-8').strip()
|
||||
for line in gitst.splitlines():
|
||||
s, name = line.split()
|
||||
s, name = line.split(maxsplit=1)
|
||||
if s == '??':
|
||||
untracked.append(name)
|
||||
if untracked:
|
||||
|
Loading…
Reference in New Issue
Block a user