diff options
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 44b8e4d496..5c1044dd50 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -64,7 +64,7 @@ class EventAdapter(): | |||
64 | def send(self, event): | 64 | def send(self, event): |
65 | try: | 65 | try: |
66 | self.queue.put(event) | 66 | self.queue.put(event) |
67 | except Exception, err: | 67 | except Exception as err: |
68 | print("EventAdapter puked: %s" % str(err)) | 68 | print("EventAdapter puked: %s" % str(err)) |
69 | 69 | ||
70 | 70 | ||
@@ -168,7 +168,7 @@ class ProcessServer(Process): | |||
168 | exitcode = 0 | 168 | exitcode = 0 |
169 | finally: | 169 | finally: |
170 | util._exit_function() | 170 | util._exit_function() |
171 | except SystemExit, e: | 171 | except SystemExit as e: |
172 | if not e.args: | 172 | if not e.args: |
173 | exitcode = 1 | 173 | exitcode = 1 |
174 | elif type(e.args[0]) is int: | 174 | elif type(e.args[0]) is int: |