diff options
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/forall.py | 2 | ||||
-rw-r--r-- | subcmds/gitc_delete.py | 2 | ||||
-rw-r--r-- | subcmds/upload.py | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py index 52eb5e28..693949e2 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py | |||
@@ -205,14 +205,12 @@ without iterating through the remaining projects. | |||
205 | break | 205 | break |
206 | else: | 206 | else: |
207 | cn = None | 207 | cn = None |
208 | # pylint: disable=W0631 | ||
209 | if cn and cn in _CAN_COLOR: | 208 | if cn and cn in _CAN_COLOR: |
210 | class ColorCmd(Coloring): | 209 | class ColorCmd(Coloring): |
211 | def __init__(self, config, cmd): | 210 | def __init__(self, config, cmd): |
212 | Coloring.__init__(self, config, cmd) | 211 | Coloring.__init__(self, config, cmd) |
213 | if ColorCmd(self.manifest.manifestProject.config, cn).is_on: | 212 | if ColorCmd(self.manifest.manifestProject.config, cn).is_on: |
214 | cmd.insert(cmd.index(cn) + 1, '--color') | 213 | cmd.insert(cmd.index(cn) + 1, '--color') |
215 | # pylint: enable=W0631 | ||
216 | 214 | ||
217 | mirror = self.manifest.IsMirror | 215 | mirror = self.manifest.IsMirror |
218 | rc = 0 | 216 | rc = 0 |
diff --git a/subcmds/gitc_delete.py b/subcmds/gitc_delete.py index 54f62f46..4d8cd8c2 100644 --- a/subcmds/gitc_delete.py +++ b/subcmds/gitc_delete.py | |||
@@ -21,9 +21,7 @@ import platform_utils | |||
21 | 21 | ||
22 | from pyversion import is_python3 | 22 | from pyversion import is_python3 |
23 | if not is_python3(): | 23 | if not is_python3(): |
24 | # pylint:disable=W0622 | ||
25 | input = raw_input | 24 | input = raw_input |
26 | # pylint:enable=W0622 | ||
27 | 25 | ||
28 | class GitcDelete(Command, GitcClientCommand): | 26 | class GitcDelete(Command, GitcClientCommand): |
29 | common = True | 27 | common = True |
diff --git a/subcmds/upload.py b/subcmds/upload.py index 77eaf81a..fdc7e28d 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -25,12 +25,10 @@ from git_command import GitCommand | |||
25 | from project import RepoHook | 25 | from project import RepoHook |
26 | 26 | ||
27 | from pyversion import is_python3 | 27 | from pyversion import is_python3 |
28 | # pylint:disable=W0622 | ||
29 | if not is_python3(): | 28 | if not is_python3(): |
30 | input = raw_input | 29 | input = raw_input |
31 | else: | 30 | else: |
32 | unicode = str | 31 | unicode = str |
33 | # pylint:enable=W0622 | ||
34 | 32 | ||
35 | UNUSUAL_COMMIT_THRESHOLD = 5 | 33 | UNUSUAL_COMMIT_THRESHOLD = 5 |
36 | 34 | ||