summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index a305d720..0e047f8a 100644
--- a/project.py
+++ b/project.py
@@ -2073,7 +2073,7 @@ class Project(object):
2073 gitmodules_lines = [] 2073 gitmodules_lines = []
2074 fd, temp_gitmodules_path = tempfile.mkstemp() 2074 fd, temp_gitmodules_path = tempfile.mkstemp()
2075 try: 2075 try:
2076 os.write(fd, p.stdout) 2076 os.write(fd, p.stdout.encode('utf-8'))
2077 os.close(fd) 2077 os.close(fd)
2078 cmd = ['config', '--file', temp_gitmodules_path, '--list'] 2078 cmd = ['config', '--file', temp_gitmodules_path, '--list']
2079 p = GitCommand(None, cmd, capture_stdout=True, capture_stderr=True, 2079 p = GitCommand(None, cmd, capture_stdout=True, capture_stderr=True,