From 3e86a6cddef330e08170887104f0aebae96183a6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 May 2013 21:18:20 +0000 Subject: bitbake: lib: Use modern expcetion syntax (Bitbake rev: a4a37b6a83faa62f61433122c4583e93e64f7372) Signed-off-by: Richard Purdie --- bitbake/lib/bb/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/compat.py') diff --git a/bitbake/lib/bb/compat.py b/bitbake/lib/bb/compat.py index ea4e23a008..440a2fbc8b 100644 --- a/bitbake/lib/bb/compat.py +++ b/bitbake/lib/bb/compat.py @@ -343,7 +343,7 @@ def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None): job, i, func, args, kwds = task try: result = (True, func(*args, **kwds)) - except Exception, e: + except Exception as e: result = (False, e) try: put((job, i, result)) -- cgit v1.2.3-54-g00ecf