[Python-modules-commits] [django-recurrence] 05/13: Use Python 3 compatible exception handling.

Michael Fladischer fladi at moszumanska.debian.org
Tue May 3 18:41:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository django-recurrence.

commit 5cf7d7811e952aaa56835e72d59aab4ea5df79a4
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Tue May 3 19:34:30 2016 +0200

    Use Python 3 compatible exception handling.
---
 docs/github.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/github.py b/docs/github.py
index 2f7f153..1623fb0 100644
--- a/docs/github.py
+++ b/docs/github.py
@@ -20,7 +20,7 @@ def make_issue_node(rawtext, app, slug, options):
         base = app.config.github_project_url
         if not base:
             raise AttributeError
-    except AttributeError, err:
+    except AttributeError as err:
         raise ValueError('github_project_url configuration value is not set (%s)' % str(err))
 
     slash = '/' if base[-1] != '/' else ''

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-recurrence.git



More information about the Python-modules-commits mailing list