summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/prserv
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 21:17:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 22:28:24 +0100
commita823c888391223b25f152f6e135cc0403677c324 (patch)
tree7c696f817ea2744ee302bbd6970f444d1a77fe24 /bitbake/lib/prserv
parent9b913576eae75a9417c5613c8718e4294dc730f0 (diff)
downloadpoky-a823c888391223b25f152f6e135cc0403677c324.tar.gz
bitbake: prserv: Drop StandardError usage
StandardError doesn't exist in python 3, use Exception instead. (Bitbake rev: 4a40046036493f0cdf0f66487ad5ce083461a5c2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/prserv')
-rw-r--r--bitbake/lib/prserv/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/prserv/__init__.py b/bitbake/lib/prserv/__init__.py
index c27fffe37b..0e0c98b9d8 100644
--- a/bitbake/lib/prserv/__init__.py
+++ b/bitbake/lib/prserv/__init__.py
@@ -10,5 +10,5 @@ def init_logger(logfile, loglevel):
10 FORMAT = '%(asctime)-15s %(message)s' 10 FORMAT = '%(asctime)-15s %(message)s'
11 logging.basicConfig(level=numeric_level, filename=logfile, format=FORMAT) 11 logging.basicConfig(level=numeric_level, filename=logfile, format=FORMAT)
12 12
13class NotFoundError(StandardError): 13class NotFoundError(Exception):
14 pass \ No newline at end of file 14 pass \ No newline at end of file