summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/ncurses.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/ncurses.py')
-rw-r--r--bitbake/lib/bb/ui/ncurses.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py
index 0eb1cf013b..89e67900b2 100644
--- a/bitbake/lib/bb/ui/ncurses.py
+++ b/bitbake/lib/bb/ui/ncurses.py
@@ -232,10 +232,10 @@ class NCursesUI:
232 return 232 return
233 ret = server.runCommand(cmdline) 233 ret = server.runCommand(cmdline)
234 if ret != True: 234 if ret != True:
235 print "Couldn't get default commandlind! %s" % ret 235 print("Couldn't get default commandlind! %s" % ret)
236 return 236 return
237 except xmlrpclib.Fault, x: 237 except xmlrpclib.Fault, x:
238 print "XMLRPC Fault getting commandline:\n %s" % x 238 print("XMLRPC Fault getting commandline:\n %s" % x)
239 return 239 return
240 240
241 exitflag = False 241 exitflag = False
@@ -324,7 +324,7 @@ class NCursesUI:
324 324
325def init(server, eventHandler): 325def init(server, eventHandler):
326 if not os.isatty(sys.stdout.fileno()): 326 if not os.isatty(sys.stdout.fileno()):
327 print "FATAL: Unable to run 'ncurses' UI without a TTY." 327 print("FATAL: Unable to run 'ncurses' UI without a TTY.")
328 return 328 return
329 ui = NCursesUI() 329 ui = NCursesUI()
330 try: 330 try: