aboutsummaryrefslogtreecommitdiffstats
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:04:19 +0100
commita37ae30b9766df346ca57755530024a0b7d5f86b (patch)
tree1b5067005f5201651fbf682b64c8f8591e3c528e
parent754874e68d1037c76fc4cc7d35d3fa12946d00f8 (diff)
downloadopenembedded-core-contrib-a37ae30b9766df346ca57755530024a0b7d5f86b.tar.gz
openembedded-core-contrib-a37ae30b9766df346ca57755530024a0b7d5f86b.tar.bz2
openembedded-core-contrib-a37ae30b9766df346ca57755530024a0b7d5f86b.zip
meta/lib/oe: Replace StandardError with Exception
StandardError is removed in python3, replace with Exception class instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 173e319cd58..340da61102f 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 aecf4e89d08..28470e3e1e0 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