diff options
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1989,7 +1989,7 @@ class Project(object): | |||
1989 | gitmodules_lines = [] | 1989 | gitmodules_lines = [] |
1990 | fd, temp_gitmodules_path = tempfile.mkstemp() | 1990 | fd, temp_gitmodules_path = tempfile.mkstemp() |
1991 | try: | 1991 | try: |
1992 | os.write(fd, p.stdout) | 1992 | os.write(fd, p.stdout.encode('utf-8')) |
1993 | os.close(fd) | 1993 | os.close(fd) |
1994 | cmd = ['config', '--file', temp_gitmodules_path, '--list'] | 1994 | cmd = ['config', '--file', temp_gitmodules_path, '--list'] |
1995 | p = GitCommand(None, cmd, capture_stdout=True, capture_stderr=True, | 1995 | p = GitCommand(None, cmd, capture_stdout=True, capture_stderr=True, |