summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index 281ba4b7..77b97f73 100644
--- a/project.py
+++ b/project.py
@@ -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,