Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83a6120 commit 6216759Copy full SHA for 6216759
1 file changed
mypy/git.py
@@ -31,7 +31,10 @@ def get_submodules(dir: str):
31
# status='-': not initialized
32
# status='+': changed
33
# status='u': merge conflicts
34
+ # status=' ': up-to-date
35
for line in output.splitlines():
36
+ # Skip the status indicator, as it could be a space can confuse the split.
37
+ line = line[1:]
38
name = line.split(b" ")[1]
39
yield name.decode(sys.getfilesystemencoding())
40
0 commit comments