summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/imager/direct.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/imager/direct.py')
-rw-r--r--scripts/lib/wic/plugins/imager/direct.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index 9c8a2304a7..5b20ca9c5b 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -32,7 +32,7 @@ import uuid
32 32
33from time import strftime 33from time import strftime
34 34
35from wic.errors import ImageError, WicError 35from wic.errors import WicError
36from wic.filemap import sparse_copy 36from wic.filemap import sparse_copy
37from wic.ksparser import KickStart, KickStartError 37from wic.ksparser import KickStart, KickStartError
38from wic.plugin import pluginmgr 38from wic.plugin import pluginmgr
@@ -355,8 +355,8 @@ class PartitionedImage():
355 # The --part-type can also be implemented for MBR partitions, 355 # The --part-type can also be implemented for MBR partitions,
356 # in which case it would map to the 1-byte "partition type" 356 # in which case it would map to the 1-byte "partition type"
357 # filed at offset 3 of the partition entry. 357 # filed at offset 3 of the partition entry.
358 raise ImageError("setting custom partition type is not " \ 358 raise WicError("setting custom partition type is not " \
359 "implemented for msdos partitions") 359 "implemented for msdos partitions")
360 360
361 # Get the disk where the partition is located 361 # Get the disk where the partition is located
362 self.numpart += 1 362 self.numpart += 1