aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/prservice.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/prservice.py')
-rw-r--r--meta/lib/oe/prservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/prservice.py b/meta/lib/oe/prservice.py
index b0cbcb1fbc..9e5a0c9830 100644
--- a/meta/lib/oe/prservice.py
+++ b/meta/lib/oe/prservice.py
@@ -9,7 +9,7 @@ def prserv_make_conn(d, check = False):
if not conn.ping():
raise Exception('service not available')
d.setVar("__PRSERV_CONN",conn)
- except Exception, exc:
+ except Exception as exc:
bb.fatal("Connecting to PR service %s:%s failed: %s" % (host_params[0], host_params[1], str(exc)))
return conn