From ad543e2e41b7e86d83cf0518b096ef82627bf891 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 9 Apr 2010 19:46:14 -0700 Subject: Apply the 2to3 print function transform (Bitbake rev: ff2e28d0d9723ccd0e9dd635447b6d889cc9f597) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/msg.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bitbake/lib/bb/msg.py') diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index 788e1dddf7..0d90f959d3 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py @@ -110,7 +110,7 @@ def debug(level, msgdomain, msg, fn = None): if debug_level[msgdomain] >= level: bb.event.fire(MsgDebug(msg), None) if not bb.event._ui_handlers: - print 'DEBUG: ' + msg + print('DEBUG: ' + msg) def note(level, msgdomain, msg, fn = None): if not msgdomain: @@ -119,25 +119,25 @@ def note(level, msgdomain, msg, fn = None): if level == 1 or verbose or debug_level[msgdomain] >= 1: bb.event.fire(MsgNote(msg), None) if not bb.event._ui_handlers: - print 'NOTE: ' + msg + print('NOTE: ' + msg) def warn(msgdomain, msg, fn = None): bb.event.fire(MsgWarn(msg), None) if not bb.event._ui_handlers: - print 'WARNING: ' + msg + print('WARNING: ' + msg) def error(msgdomain, msg, fn = None): bb.event.fire(MsgError(msg), None) if not bb.event._ui_handlers: - print 'ERROR: ' + msg + print('ERROR: ' + msg) def fatal(msgdomain, msg, fn = None): bb.event.fire(MsgFatal(msg), None) if not bb.event._ui_handlers: - print 'FATAL: ' + msg + print('FATAL: ' + msg) sys.exit(1) def plain(msg, fn = None): bb.event.fire(MsgPlain(msg), None) if not bb.event._ui_handlers: - print msg + print(msg) -- cgit v1.2.3