diff options
author | Conley Owens <cco3@android.com> | 2012-10-25 09:51:06 -0700 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-10-25 09:51:07 -0700 |
commit | e4ed8f65f376009f70fab0e7978fdfc223f23a76 (patch) | |
tree | 00a9118857c613eefdd967d330bc5230ced01555 /command.py | |
parent | fdb44479f8b99e7795021f1b8588a677dcf5fd51 (diff) | |
parent | 4f7bdea9d24c4eb52f83ada2b67b88ad67cb57a7 (diff) | |
download | git-repo-e4ed8f65f376009f70fab0e7978fdfc223f23a76.tar.gz |
Merge "Add pylint configuration and instructions"
Diffstat (limited to 'command.py')
-rw-r--r-- | command.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,7 +147,7 @@ class Command(object): | |||
147 | result.sort(key=_getpath) | 147 | result.sort(key=_getpath) |
148 | return result | 148 | return result |
149 | 149 | ||
150 | # pylint: disable-msg=W0223 | 150 | # pylint: disable=W0223 |
151 | # Pylint warns that the `InteractiveCommand` and `PagedCommand` classes do not | 151 | # Pylint warns that the `InteractiveCommand` and `PagedCommand` classes do not |
152 | # override method `Execute` which is abstract in `Command`. Since that method | 152 | # override method `Execute` which is abstract in `Command`. Since that method |
153 | # is always implemented in classes derived from `InteractiveCommand` and | 153 | # is always implemented in classes derived from `InteractiveCommand` and |
@@ -166,7 +166,7 @@ class PagedCommand(Command): | |||
166 | def WantPager(self, opt): | 166 | def WantPager(self, opt): |
167 | return True | 167 | return True |
168 | 168 | ||
169 | # pylint: enable-msg=W0223 | 169 | # pylint: enable=W0223 |
170 | 170 | ||
171 | class MirrorSafeCommand(object): | 171 | class MirrorSafeCommand(object): |
172 | """Command permits itself to run within a mirror, | 172 | """Command permits itself to run within a mirror, |