aboutsummaryrefslogtreecommitdiffstats
path: root/meta
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
parent3512f797f92f0d51bf3af83bf5126466e2e0cc15 (diff)
downloadopenembedded-core-contrib-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')
-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
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 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
logger = logging.getLogger('BitBake.OE.Terminal')
-class UnsupportedTerminal(StandardError):
+class UnsupportedTerminal(Exception):
pass
-class NoSupportedTerminals(StandardError):
+class NoSupportedTerminals(Exception):
pass