summaryrefslogtreecommitdiff
path: root/gbp/bb
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/bb')
-rw-r--r--gbp/bb/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp/bb/__init__.py b/gbp/bb/__init__.py
index d6f205b4..60204b7e 100644
--- a/gbp/bb/__init__.py
+++ b/gbp/bb/__init__.py
@@ -42,8 +42,8 @@ def import_bb():
try:
return __import__('bb')
except ImportError:
- print "ERROR: Unable to find bitbake/lib, try initializing build " \
- "environment with the 'oe-init-build-env' script\n"
+ print("ERROR: Unable to find bitbake/lib, try initializing build " \
+ "environment with the 'oe-init-build-env' script\n")
# Return None instead of raising (ImportError) so that building of
# this package succeeds in Debian. Otherwise dpkg-buildpackage fails
# because of an import error in epydoc.
@@ -257,7 +257,7 @@ class BBFile(object):
if match and match.group('name') == var:
if not self.was_set:
self.was_set = True
- print "Setting value %s = %s" % (var, val)
+ print("Setting value %s = %s" % (var, val))
return ['%s = "%s"\n' % (var, val)]
else:
return []