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/oe | |
parent | 3512f797f92f0d51bf3af83bf5126466e2e0cc15 (diff) | |
download | 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/oe')
-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 173e319cd5..340da61102 100644 --- a/meta/lib/oe/license.py +++ b/meta/lib/oe/license.py | |||
@@ -5,7 +5,7 @@ import ast | |||
5 | import re | 5 | import re |
6 | from fnmatch import fnmatchcase as fnmatch | 6 | from fnmatch import fnmatchcase as fnmatch |
7 | 7 | ||
8 | class LicenseError(StandardError): | 8 | class LicenseError(Exception): |
9 | pass | 9 | pass |
10 | 10 | ||
11 | class LicenseSyntaxError(LicenseError): | 11 | class LicenseSyntaxError(LicenseError): |
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index aecf4e89d0..28470e3e1e 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -6,10 +6,10 @@ from bb.process import Popen, ExecutionError | |||
6 | logger = logging.getLogger('BitBake.OE.Terminal') | 6 | logger = logging.getLogger('BitBake.OE.Terminal') |
7 | 7 | ||
8 | 8 | ||
9 | class UnsupportedTerminal(StandardError): | 9 | class UnsupportedTerminal(Exception): |
10 | pass | 10 | pass |
11 | 11 | ||
12 | class NoSupportedTerminals(StandardError): | 12 | class NoSupportedTerminals(Exception): |
13 | pass | 13 | pass |
14 | 14 | ||
15 | 15 | ||