diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/plugins/source/otaimage.py | 2 | ||||
-rw-r--r-- | scripts/qemucommand.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/otaimage.py b/scripts/lib/wic/plugins/source/otaimage.py index 26cfb10..ee8088b 100644 --- a/scripts/lib/wic/plugins/source/otaimage.py +++ b/scripts/lib/wic/plugins/source/otaimage.py | |||
@@ -20,7 +20,7 @@ import os | |||
20 | import sys | 20 | import sys |
21 | 21 | ||
22 | from wic.plugins.source.rawcopy import RawCopyPlugin | 22 | from wic.plugins.source.rawcopy import RawCopyPlugin |
23 | from wic.utils.misc import get_bitbake_var | 23 | from wic.misc import get_bitbake_var |
24 | 24 | ||
25 | logger = logging.getLogger('wic') | 25 | logger = logging.getLogger('wic') |
26 | 26 | ||
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py index 7ae9381..6b1106d 100644 --- a/scripts/qemucommand.py +++ b/scripts/qemucommand.py | |||
@@ -73,7 +73,7 @@ class QemuCommand(object): | |||
73 | try: | 73 | try: |
74 | check_output(['kvm-ok']) | 74 | check_output(['kvm-ok']) |
75 | self.kvm = True | 75 | self.kvm = True |
76 | except CalledProcessError: | 76 | except Exception: |
77 | self.kvm = False | 77 | self.kvm = False |
78 | else: | 78 | else: |
79 | self.kvm = args.kvm | 79 | self.kvm = args.kvm |