summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2011-02-18 22:37:34 +0100
committerMichael Vogt <mvo@debian.org>2011-02-18 22:37:34 +0100
commitbe46a92a5621d2c199792ead5371afb979f32f9c (patch)
tree3d4397fc802685b433b1f72cf7067907c4a6540f /doc/source/conf.py
parent45100d466f6c392758ff2e490cdfee9aae7e55a7 (diff)
parent2885341cf3d7a1050be1bf2a45237395a3149feb (diff)
downloadpython-apt-be46a92a5621d2c199792ead5371afb979f32f9c.tar.gz
merged from lp:~mvo/python-apt/mvo
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 18c8642e..8fbf2c11 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -26,7 +26,7 @@ if os.path.exists("../../build"):
sys.path.insert(0, os.path.abspath(os.path.dirname(apt_pkg_path)))
try:
import apt_pkg
- except ImportError, exc:
+ except ImportError as exc:
# Not the correct version
sys.stderr.write('W: Ignoring error %s\n' % exc)
sys.path.pop(0)