removed --list option for older git installations. using sys.version_info as tuple for python 2.6 support.
This commit is contained in:
parent
543085e486
commit
08010e86fe
2 changed files with 2 additions and 3 deletions
|
@ -63,7 +63,7 @@ class Git(BaseProject):
|
|||
stdout = None
|
||||
try:
|
||||
stdout, stderr = Popen([
|
||||
'git', 'branch', '--no-color', '--list'
|
||||
'git', 'branch', '--no-color'
|
||||
], stdout=PIPE, stderr=PIPE, cwd=self._project_base()
|
||||
).communicate()
|
||||
except OSError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue