Skip to content
Snippets Groups Projects
Commit 754d6910 authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Fix the working directory for the second git command (execute it in git...

Fix the working directory for the second git command (execute it in git repository, like the first command)
parent b55281e2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -104,7 +104,8 @@ class GitChart(object):
proc1 = subprocess.Popen(command1, stdout=subprocess.PIPE,
cwd=self.repository)
proc2 = subprocess.Popen(command2, stdin=proc1.stdout,
stdout=subprocess.PIPE)
stdout=subprocess.PIPE,
cwd=self.repository)
proc1.stdout.close()
return proc2.communicate()[0].decode('utf-8', errors='ignore') \
.strip().split('\n')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment