diff options
Diffstat (limited to 'bitbake/lib/bb/exceptions.py')
| -rw-r--r-- | bitbake/lib/bb/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/exceptions.py b/bitbake/lib/bb/exceptions.py index eadfc57157..cd713439ea 100644 --- a/bitbake/lib/bb/exceptions.py +++ b/bitbake/lib/bb/exceptions.py | |||
| @@ -86,6 +86,6 @@ def format_exception(etype, value, tb, context=1, limit=None, formatter=None): | |||
| 86 | 86 | ||
| 87 | def to_string(exc): | 87 | def to_string(exc): |
| 88 | if isinstance(exc, SystemExit): | 88 | if isinstance(exc, SystemExit): |
| 89 | if not isinstance(exc.code, basestring): | 89 | if not isinstance(exc.code, str): |
| 90 | return 'Exited with "%d"' % exc.code | 90 | return 'Exited with "%d"' % exc.code |
| 91 | return str(exc) | 91 | return str(exc) |
