Package: mediagoblin / 0.9.0~dfsg-1~exp4

1001_fix_exception_syntax.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix syntax for listing multiple exceptions
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2017-08-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/mediagoblin/plugins/ldap/tools.py
+++ b/mediagoblin/plugins/ldap/tools.py
@@ -57,7 +57,7 @@
                 email = self._get_email(v, username)
                 return username, email
 
-            except ldap.LDAPError, e:
+            except ldap.LDAPError as e:
                 _log.info(e)
 
             finally: