diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-18 12:50:15 +0200 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-16 15:10:40 +0100 |
| commit | c4fde248b14d4be9cab6d0eff85f9d7f852a4b65 (patch) | |
| tree | 0462a7b4c188f390af53d2b1a6312894774d740f /bitbake/bin | |
| parent | 2fc283c52d7d6d6bf8e67a7847f064fa20d4bc51 (diff) | |
| download | poky-c4fde248b14d4be9cab6d0eff85f9d7f852a4b65.tar.gz | |
*: use print() as a function
to make python3 happy
(Bitbake rev: c82926ccdd4ec4e3ad6e78a381dacb96adf9b409)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/bin')
| -rwxr-xr-x | bitbake/bin/bitbake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index fdf1e20f84..7caa5d95e6 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
| @@ -195,13 +195,13 @@ Default BBFILES are the .bb files in the current directory.""") | |||
| 195 | uimodule = __import__("bb.ui", fromlist = [ui]) | 195 | uimodule = __import__("bb.ui", fromlist = [ui]) |
| 196 | ui_init = getattr(uimodule, ui).init | 196 | ui_init = getattr(uimodule, ui).init |
| 197 | except AttributeError: | 197 | except AttributeError: |
| 198 | print "FATAL: Invalid user interface '%s' specified. " % ui | 198 | print("FATAL: Invalid user interface '%s' specified. " % ui) |
| 199 | print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." | 199 | print("Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'.") |
| 200 | else: | 200 | else: |
| 201 | try: | 201 | try: |
| 202 | return_value = ui_init(serverConnection.connection, serverConnection.events) | 202 | return_value = ui_init(serverConnection.connection, serverConnection.events) |
| 203 | except Exception as e: | 203 | except Exception as e: |
| 204 | print "FATAL: Unable to start to '%s' UI: %s" % (ui, e) | 204 | print("FATAL: Unable to start to '%s' UI: %s" % (ui, e)) |
| 205 | raise | 205 | raise |
| 206 | finally: | 206 | finally: |
| 207 | serverConnection.terminate() | 207 | serverConnection.terminate() |
