diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-07 13:56:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 14:06:51 +0100 |
commit | feeffdb5b60bec099c139b6a36b7788ecf7212bf (patch) | |
tree | 0f7e87c76c8e1cd769fec8d80ddf6304d37cac2b /meta/lib | |
parent | 3512f797f92f0d51bf3af83bf5126466e2e0cc15 (diff) | |
download | ast2050-yocto-poky-feeffdb5b60bec099c139b6a36b7788ecf7212bf.zip ast2050-yocto-poky-feeffdb5b60bec099c139b6a36b7788ecf7212bf.tar.gz |
meta/lib/oe: Replace StandardError with Exception
StandardError is removed in python3, replace with Exception class instead.
(From OE-Core rev: a37ae30b9766df346ca57755530024a0b7d5f86b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/license.py | 2 | ||||
-rw-r--r-- | meta/lib/oe/terminal.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py index 173e319..340da61 100644 --- a/meta/lib/oe/license.py +++ b/meta/lib/oe/license.py @@ -5,7 +5,7 @@ import ast import re from fnmatch import fnmatchcase as fnmatch -class LicenseError(StandardError): +class LicenseError(Exception): pass class LicenseSyntaxError(LicenseError): diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index aecf4e8..28470e3 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py @@ -6,10 +6,10 @@ from bb.process import Popen, ExecutionError logger = logging.getLogger('BitBake.OE.Terminal') -class UnsupportedTerminal(StandardError): +class UnsupportedTerminal(Exception): pass -class NoSupportedTerminals(StandardError): +class NoSupportedTerminals(Exception): pass |