diff -r d901c36bcfce -r 358d8bed9626 server/sources/__init__.py --- a/server/sources/__init__.py Thu Feb 14 15:39:23 2013 +0100 +++ b/server/sources/__init__.py Thu Feb 14 15:38:25 2013 +0100 @@ -177,7 +177,7 @@ # type check try: value = configuration.convert(value, optdict, optname) - except Exception, ex: + except Exception as ex: msg = unicode(ex) # XXX internationalization raise ValidationError(eid, {role_name('config', 'subject'): msg}) processed[optname] = value