mail.py
branchstable
changeset 7815 2a164a9cf81c
parent 5736 375819ec7d43
child 7879 9aae456abab5
--- a/mail.py	Tue Sep 20 15:14:04 2011 +0200
+++ b/mail.py	Wed Sep 21 17:38:00 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -67,7 +67,7 @@
         values = b64decode(str(values + '='*padding), '.-')
         values = dict(v.split('=') for v in values.split('&'))
         fromappid, host = qualif.split('.', 1)
-    except:
+    except Exception:
         return None
     if appid != fromappid or host != gethostname():
         return None