Bug#873496: src:mediagoblin: 1001_fix_exception_syntax.patch is broken
Piotr Ożarowski
piotr at sar0.p1otr.com
Mon Aug 28 12:10:13 UTC 2017
Package: src:mediagoblin
Version: 0.9.0~dfsg-1~exp2
Severity: normal
Hi,
"except ldap.LDAPError, e:" wasn't meant as multiple exceptions, "e" is
ldap.LDAPError's instance name - syntax used in Python 2.X, no longer
available in Python 3.X - comma is replaced with "as" keyword, also
backported to 2.7 so you can safely use:
- except ldap.LDAPError, e:
+ except ldap.LDAPError as e:
More information about the pkg-multimedia-maintainers
mailing list