From a823c888391223b25f152f6e135cc0403677c324 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 May 2013 21:17:18 +0000 Subject: bitbake: prserv: Drop StandardError usage StandardError doesn't exist in python 3, use Exception instead. (Bitbake rev: 4a40046036493f0cdf0f66487ad5ce083461a5c2) Signed-off-by: Richard Purdie --- bitbake/lib/prserv/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): FORMAT = '%(asctime)-15s %(message)s' logging.basicConfig(level=numeric_level, filename=logfile, format=FORMAT) -class NotFoundError(StandardError): +class NotFoundError(Exception): pass \ No newline at end of file -- cgit v1.2.3-54-g00ecf