diff options
Diffstat (limited to 'scripts/lib/wic/filemap.py')
-rw-r--r-- | scripts/lib/wic/filemap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/filemap.py b/scripts/lib/wic/filemap.py index 2778be5e1b..f3240ba8d8 100644 --- a/scripts/lib/wic/filemap.py +++ b/scripts/lib/wic/filemap.py | |||
@@ -482,7 +482,7 @@ class FilemapFiemap(_FilemapBase): | |||
482 | self._log.debug("FilemapFiemap: get_mapped_ranges(%d, %d(%d))" | 482 | self._log.debug("FilemapFiemap: get_mapped_ranges(%d, %d(%d))" |
483 | % (start, count, start + count - 1)) | 483 | % (start, count, start + count - 1)) |
484 | iterator = self._do_get_mapped_ranges(start, count) | 484 | iterator = self._do_get_mapped_ranges(start, count) |
485 | first_prev, last_prev = iterator.next() | 485 | first_prev, last_prev = next(iterator) |
486 | 486 | ||
487 | for first, last in iterator: | 487 | for first, last in iterator: |
488 | if last_prev == first - 1: | 488 | if last_prev == first - 1: |