summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/ksparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/ksparser.py')
-rw-r--r--scripts/lib/wic/ksparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py
index 7ef3dc83dd..596b6e8e7e 100644
--- a/scripts/lib/wic/ksparser.py
+++ b/scripts/lib/wic/ksparser.py
@@ -275,9 +275,9 @@ class KickStart():
275 # --fixed-size iff given option was not used 275 # --fixed-size iff given option was not used
276 # (again, one cannot tell if option was passed but 276 # (again, one cannot tell if option was passed but
277 # with value equal to 0) 277 # with value equal to 0)
278 if '--overhead-factor' not in line_args: 278 if not parsed.overhead_factor:
279 parsed.overhead_factor = self.DEFAULT_OVERHEAD_FACTOR 279 parsed.overhead_factor = self.DEFAULT_OVERHEAD_FACTOR
280 if '--extra-space' not in line_args: 280 if not parsed.extra_space:
281 parsed.extra_space = self.DEFAULT_EXTRA_SPACE 281 parsed.extra_space = self.DEFAULT_EXTRA_SPACE
282 282
283 self.partnum += 1 283 self.partnum += 1