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.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py
index 968b8e1312..a0393008eb 100644
--- a/scripts/lib/wic/ksparser.py
+++ b/scripts/lib/wic/ksparser.py
@@ -27,12 +27,15 @@
27 27
28import os 28import os
29import shlex 29import shlex
30import logging
31
30from argparse import ArgumentParser, ArgumentError, ArgumentTypeError 32from argparse import ArgumentParser, ArgumentError, ArgumentTypeError
31 33
32from wic import msger
33from wic.engine import find_canned 34from wic.engine import find_canned
34from wic.partition import Partition 35from wic.partition import Partition
35 36
37logger = logging.getLogger('wic')
38
36class KickStartError(Exception): 39class KickStartError(Exception):
37 """Custom exception.""" 40 """Custom exception."""
38 pass 41 pass
@@ -168,7 +171,7 @@ class KickStart():
168 171
169 self._parse(parser, confpath) 172 self._parse(parser, confpath)
170 if not self.bootloader: 173 if not self.bootloader:
171 msger.warning('bootloader config not specified, using defaults') 174 logger.warning('bootloader config not specified, using defaults\n')
172 self.bootloader = bootloader.parse_args([]) 175 self.bootloader = bootloader.parse_args([])
173 176
174 def _parse(self, parser, confpath): 177 def _parse(self, parser, confpath):