mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 02:02:21 +02:00
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>
This commit is contained in:
@@ -5,7 +5,7 @@ import ast
|
||||
import re
|
||||
from fnmatch import fnmatchcase as fnmatch
|
||||
|
||||
class LicenseError(StandardError):
|
||||
class LicenseError(Exception):
|
||||
pass
|
||||
|
||||
class LicenseSyntaxError(LicenseError):
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user