diff options
Diffstat (limited to 'project.py')
| -rwxr-xr-x | project.py | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -48,9 +48,7 @@ else: | |||
| 48 | import urlparse | 48 | import urlparse |
| 49 | urllib = imp.new_module('urllib') | 49 | urllib = imp.new_module('urllib') |
| 50 | urllib.parse = urlparse | 50 | urllib.parse = urlparse |
| 51 | # pylint:disable=W0622 | ||
| 52 | input = raw_input | 51 | input = raw_input |
| 53 | # pylint:enable=W0622 | ||
| 54 | 52 | ||
| 55 | 53 | ||
| 56 | def _lwrite(path, content): | 54 | def _lwrite(path, content): |
| @@ -2671,7 +2669,7 @@ class Project(object): | |||
| 2671 | out = p.stdout | 2669 | out = p.stdout |
| 2672 | if out: | 2670 | if out: |
| 2673 | # Backslash is not anomalous | 2671 | # Backslash is not anomalous |
| 2674 | return out[:-1].split('\0') # pylint: disable=W1401 | 2672 | return out[:-1].split('\0') |
| 2675 | return [] | 2673 | return [] |
| 2676 | 2674 | ||
| 2677 | def DiffZ(self, name, *args): | 2675 | def DiffZ(self, name, *args): |
| @@ -2688,7 +2686,7 @@ class Project(object): | |||
| 2688 | out = p.process.stdout.read() | 2686 | out = p.process.stdout.read() |
| 2689 | r = {} | 2687 | r = {} |
| 2690 | if out: | 2688 | if out: |
| 2691 | out = iter(out[:-1].split('\0')) # pylint: disable=W1401 | 2689 | out = iter(out[:-1].split('\0')) |
| 2692 | while out: | 2690 | while out: |
| 2693 | try: | 2691 | try: |
| 2694 | info = next(out) | 2692 | info = next(out) |
