mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-06-27 06:46:11 +08:00
Tidy up code formatting a bit more
Enable the following Pylint warnings: C0322: Operator not preceded by a space C0323: Operator not followed by a space C0324: Comma not followed by a space And make the necessary fixes. Change-Id: I74d74283ad5138cbaf28d492b18614eb355ff9fe
This commit is contained in:
@ -556,7 +556,7 @@ class Project(object):
|
||||
'--unmerged',
|
||||
'--ignore-missing',
|
||||
'--refresh')
|
||||
if self.work_git.DiffZ('diff-index','-M','--cached',HEAD):
|
||||
if self.work_git.DiffZ('diff-index', '-M', '--cached', HEAD):
|
||||
return True
|
||||
if self.work_git.DiffZ('diff-files'):
|
||||
return True
|
||||
@ -1880,7 +1880,7 @@ class Project(object):
|
||||
self.level = self.level[1:]
|
||||
|
||||
info = info[1:].split(' ')
|
||||
info =_Info(path, *info)
|
||||
info = _Info(path, *info)
|
||||
if info.status in ('R', 'C'):
|
||||
info.src_path = info.path
|
||||
info.path = out.next()
|
||||
|
Reference in New Issue
Block a user