summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/utils/oe/misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/utils/oe/misc.py')
-rw-r--r--scripts/lib/wic/utils/oe/misc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py
index a3cbe5f1e2..11209be58e 100644
--- a/scripts/lib/wic/utils/oe/misc.py
+++ b/scripts/lib/wic/utils/oe/misc.py
@@ -187,8 +187,8 @@ class BitbakeVars(defaultdict):
187 for line in varsfile: 187 for line in varsfile:
188 self._parse_line(line, image) 188 self._parse_line(line, image)
189 else: 189 else:
190 print "Couldn't get bitbake variable from %s." % fname 190 print("Couldn't get bitbake variable from %s." % fname)
191 print "File %s doesn't exist." % fname 191 print("File %s doesn't exist." % fname)
192 return 192 return
193 else: 193 else:
194 # Get bitbake -e output 194 # Get bitbake -e output
@@ -202,8 +202,8 @@ class BitbakeVars(defaultdict):
202 msger.set_loglevel(log_level) 202 msger.set_loglevel(log_level)
203 203
204 if ret: 204 if ret:
205 print "Couldn't get '%s' output." % cmd 205 print("Couldn't get '%s' output." % cmd)
206 print "Bitbake failed with error:\n%s\n" % lines 206 print("Bitbake failed with error:\n%s\n" % lines)
207 return 207 return
208 208
209 # Parse bitbake -e output 209 # Parse bitbake -e output