summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-01-10 18:08:13 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-01-10 18:08:13 +0100
commit660c5bbf9d2793a392572e1c23eb36b4e9298792 (patch)
treea74476633321630911690e7f513869efe5026132 /doc/source
parentb221e38a33871bc7040e457051c38ef222e618e5 (diff)
downloadpython-apt-660c5bbf9d2793a392572e1c23eb36b4e9298792.tar.gz
merged lp:~geser/ubuntu/natty/python-apt/build-with-py3.2 (manually as bzr thinks the branches have nothing in common)
Diffstat (limited to 'doc/source')
-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)