diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2321,8 +2321,8 @@ class Project(object): | |||
2321 | out = iter(out[:-1].split('\0')) # pylint: disable=W1401 | 2321 | out = iter(out[:-1].split('\0')) # pylint: disable=W1401 |
2322 | while out: | 2322 | while out: |
2323 | try: | 2323 | try: |
2324 | info = out.next() | 2324 | info = next(out) |
2325 | path = out.next() | 2325 | path = next(out) |
2326 | except StopIteration: | 2326 | except StopIteration: |
2327 | break | 2327 | break |
2328 | 2328 | ||
@@ -2348,7 +2348,7 @@ class Project(object): | |||
2348 | info = _Info(path, *info) | 2348 | info = _Info(path, *info) |
2349 | if info.status in ('R', 'C'): | 2349 | if info.status in ('R', 'C'): |
2350 | info.src_path = info.path | 2350 | info.src_path = info.path |
2351 | info.path = out.next() | 2351 | info.path = next(out) |
2352 | r[info.path] = info | 2352 | r[info.path] = info |
2353 | return r | 2353 | return r |
2354 | finally: | 2354 | finally: |