summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 163f5074..7a565e16 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -36,7 +36,6 @@ if os.path.exists("../../build"):
break
-
# General configuration
# ---------------------
@@ -68,7 +67,7 @@ copyright = u'2009-2010, Julian Andres Klode <jak@debian.org>'
#
try:
- release=os.environ['DEBVER']
+ release = os.environ['DEBVER']
except KeyError:
from subprocess import Popen, PIPE
p1 = Popen(["dpkg-parsechangelog", "-l../../debian/changelog"],
@@ -82,7 +81,7 @@ for c in release.split("~")[0].split(".")[2]:
if not c.isdigit():
break
release_raw += c
-
+
if int(release_raw) >= 90:
version_s = release.split("~")[0].split(".")[:3]
# Set the version to 0.X.100 if the release is 0.X.9Y (0.7.90 => 0.7.100)
@@ -212,8 +211,8 @@ htmlhelp_basename = 'python-aptdoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source index, target name, title, author, document class [howto/manual]).
latex_documents = [
- ('contents', 'python-apt.tex', ur'python-apt Documentation',
- ur'Julian Andres Klode <jak@debian.org>', 'manual'),
+ ('contents', 'python-apt.tex', ur'python-apt Documentation',
+ ur'Julian Andres Klode <jak@debian.org>', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of