summaryrefslogtreecommitdiffstats
path: root/lib/bb/msg.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-09 19:46:14 -0700
committerChris Larson <chris_larson@mentor.com>2010-04-09 19:46:20 -0700
commitff2e28d0d9723ccd0e9dd635447b6d889cc9f597 (patch)
tree15d8533a7261c5b320fcf4c551c8dc337351c009 /lib/bb/msg.py
parent78f56049ba863b2e585b89db12b32697eb879bbc (diff)
downloadopenembedded-core-contrib-ff2e28d0d9723ccd0e9dd635447b6d889cc9f597.tar.gz
Apply the 2to3 print function transform
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/msg.py')
-rw-r--r--lib/bb/msg.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/bb/msg.py b/lib/bb/msg.py
index 788e1dddf7..0d90f959d3 100644
--- a/lib/bb/msg.py
+++ b/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)