summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py9
-rw-r--r--doc/source/examples/cache-pkgfile.py2
2 files changed, 5 insertions, 6 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
diff --git a/doc/source/examples/cache-pkgfile.py b/doc/source/examples/cache-pkgfile.py
index f4cc2e66..10216c19 100644
--- a/doc/source/examples/cache-pkgfile.py
+++ b/doc/source/examples/cache-pkgfile.py
@@ -8,7 +8,7 @@ def main():
cache = apt_pkg.Cache()
for pkgfile in cache.file_list:
print 'Package-File:', pkgfile.filename
- print 'Index-Type:', pkgfile.index_type # 'Debian Package Index'
+ print 'Index-Type:', pkgfile.index_type # 'Debian Package Index'
if pkgfile.not_source:
print 'Source: None'
else: