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