diff options
author | Georg Brandl <georg@python.org> | 2014-03-01 08:18:23 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-03-01 08:18:23 +0100 |
commit | 2f950d546d7304e7b9d6592d27b47f82b3a424ad (patch) | |
tree | 54b9419c78a5f725508241c48a1ca731ee9317fa /sphinx/ext/ifconfig.py | |
parent | 3c649bfde0126d72894989506c40bb8ae35d7d23 (diff) | |
parent | 4047fe8184c2984241b92754b6e6d6b639b8d09b (diff) | |
download | sphinx-2f950d546d7304e7b9d6592d27b47f82b3a424ad.tar.gz |
Update copyright year.
Diffstat (limited to 'sphinx/ext/ifconfig.py')
-rw-r--r-- | sphinx/ext/ifconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/ifconfig.py b/sphinx/ext/ifconfig.py index 3362e56a..58ab9b40 100644 --- a/sphinx/ext/ifconfig.py +++ b/sphinx/ext/ifconfig.py @@ -53,7 +53,7 @@ def process_ifconfig_nodes(app, doctree, docname): for node in doctree.traverse(ifconfig): try: res = eval(node['expr'], ns) - except Exception, err: + except Exception as err: # handle exceptions in a clean fashion from traceback import format_exception_only msg = ''.join(format_exception_only(err.__class__, err)) |