summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-07 13:56:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 14:06:51 +0100
commitfeeffdb5b60bec099c139b6a36b7788ecf7212bf (patch)
tree0f7e87c76c8e1cd769fec8d80ddf6304d37cac2b /meta/lib/oe
parent3512f797f92f0d51bf3af83bf5126466e2e0cc15 (diff)
downloadpoky-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.py2
-rw-r--r--meta/lib/oe/terminal.py4
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
5import re 5import re
6from fnmatch import fnmatchcase as fnmatch 6from fnmatch import fnmatchcase as fnmatch
7 7
8class LicenseError(StandardError): 8class LicenseError(Exception):
9 pass 9 pass
10 10
11class LicenseSyntaxError(LicenseError): 11class 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
6logger = logging.getLogger('BitBake.OE.Terminal') 6logger = logging.getLogger('BitBake.OE.Terminal')
7 7
8 8
9class UnsupportedTerminal(StandardError): 9class UnsupportedTerminal(Exception):
10 pass 10 pass
11 11
12class NoSupportedTerminals(StandardError): 12class NoSupportedTerminals(Exception):
13 pass 13 pass
14 14
15 15