Merge pull request #1485 from karl-lunarg/karl-lunarg-patch-1
tooling: Fix update sources script for Python 3
This commit is contained in:
commit
1d12970ac8
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class GoodCommit(object):
|
||||||
def AddRemote(self):
|
def AddRemote(self):
|
||||||
"""Add the remote 'known-good' if it does not exist."""
|
"""Add the remote 'known-good' if it does not exist."""
|
||||||
remotes = command_output(['git', 'remote'], self.subdir).splitlines()
|
remotes = command_output(['git', 'remote'], self.subdir).splitlines()
|
||||||
if 'known-good' not in remotes:
|
if b'known-good' not in remotes:
|
||||||
command_output(['git', 'remote', 'add', 'known-good', self.GetUrl()], self.subdir)
|
command_output(['git', 'remote', 'add', 'known-good', self.GetUrl()], self.subdir)
|
||||||
|
|
||||||
def HasCommit(self):
|
def HasCommit(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue