diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-11-14 12:09:38 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-11-14 12:09:38 +0900 |
commit | 8f62fb7bd305337994bced7d23b347d0d39f5faf (patch) | |
tree | 7a00915a4e6138fe2c12d6f8d181b623df8962a2 /project.py | |
parent | c1b86a232383748811c6faf17f364e63e10f7dd4 (diff) | |
download | git-repo-8f62fb7bd305337994bced7d23b347d0d39f5faf.tar.gz |
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
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -556,7 +556,7 @@ class Project(object): | |||
556 | '--unmerged', | 556 | '--unmerged', |
557 | '--ignore-missing', | 557 | '--ignore-missing', |
558 | '--refresh') | 558 | '--refresh') |
559 | if self.work_git.DiffZ('diff-index','-M','--cached',HEAD): | 559 | if self.work_git.DiffZ('diff-index', '-M', '--cached', HEAD): |
560 | return True | 560 | return True |
561 | if self.work_git.DiffZ('diff-files'): | 561 | if self.work_git.DiffZ('diff-files'): |
562 | return True | 562 | return True |
@@ -1880,7 +1880,7 @@ class Project(object): | |||
1880 | self.level = self.level[1:] | 1880 | self.level = self.level[1:] |
1881 | 1881 | ||
1882 | info = info[1:].split(' ') | 1882 | info = info[1:].split(' ') |
1883 | info =_Info(path, *info) | 1883 | info = _Info(path, *info) |
1884 | if info.status in ('R', 'C'): | 1884 | if info.status in ('R', 'C'): |
1885 | info.src_path = info.path | 1885 | info.src_path = info.path |
1886 | info.path = out.next() | 1886 | info.path = out.next() |