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/license.py | |
| 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/license.py')
| -rw-r--r-- | meta/lib/oe/license.py | 2 |
1 files changed, 1 insertions, 1 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): |
