summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r--scripts/lib/wic/engine.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py
index a965b8b901..e169147aba 100644
--- a/scripts/lib/wic/engine.py
+++ b/scripts/lib/wic/engine.py
@@ -267,7 +267,7 @@ class Disk:
267 self._psector_size = int(psector_size) 267 self._psector_size = int(psector_size)
268 for line in splitted[2:]: 268 for line in splitted[2:]:
269 pnum, start, end, size, fstype = line.split(':')[:5] 269 pnum, start, end, size, fstype = line.split(':')[:5]
270 partition = parttype(pnum, int(start[:-1]), int(end[:-1]), 270 partition = parttype(int(pnum), int(start[:-1]), int(end[:-1]),
271 int(size[:-1]), fstype) 271 int(size[:-1]), fstype)
272 self._partitions[pnum] = partition 272 self._partitions[pnum] = partition
273 273
@@ -341,7 +341,7 @@ def wic_ls(args, native_sysroot):
341 if disk.partitions: 341 if disk.partitions:
342 print('Num Start End Size Fstype') 342 print('Num Start End Size Fstype')
343 for part in disk.partitions.values(): 343 for part in disk.partitions.values():
344 print("{:2s} {:12d} {:12d} {:12d} {}".format(\ 344 print("{:2d} {:12d} {:12d} {:12d} {}".format(\
345 part.pnum, part.start, part.end, 345 part.pnum, part.start, part.end,
346 part.size, part.fstype)) 346 part.size, part.fstype))
347 else: 347 else: