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
@ -96,7 +96,7 @@ class GoodCommit(object):
|
||||
def AddRemote(self):
|
||||
"""Add the remote 'known-good' if it does not exist."""
|
||||
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)
|
||||
|
||||
def HasCommit(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user