summaryrefslogtreecommitdiff
path: root/doc/source/examples
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-03-01 17:12:09 +0100
committerJulian Andres Klode <jak@debian.org>2010-03-01 17:12:09 +0100
commit78e152429187ef145124b0ac0a69ffd1d52f4ed7 (patch)
tree781f35c83798f4d1d9a2019fd0f9409e3312be6d /doc/source/examples
parent28fcce3fe36ab2c3855d4c3766490272a7310392 (diff)
downloadpython-apt-78e152429187ef145124b0ac0a69ffd1d52f4ed7.tar.gz
Style fixes.
Diffstat (limited to 'doc/source/examples')
-rw-r--r--doc/source/examples/apt-cdrom.py3
-rw-r--r--doc/source/examples/update-print-uris.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/examples/apt-cdrom.py b/doc/source/examples/apt-cdrom.py
index a20b0f12..cb23e97d 100644
--- a/doc/source/examples/apt-cdrom.py
+++ b/doc/source/examples/apt-cdrom.py
@@ -30,7 +30,8 @@ def show_help():
" -f Fast mode, don't check package files\n"
" -a Thorough scan mode\n"
" -c=? Read this configuration file\n"
- " -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp\n"
+ " -o=? Set an arbitrary configuration option, eg -o "
+ "dir::cache=/tmp\n"
"See fstab(5)")
return 0
diff --git a/doc/source/examples/update-print-uris.py b/doc/source/examples/update-print-uris.py
index f078cdc5..dbe1dfde 100644
--- a/doc/source/examples/update-print-uris.py
+++ b/doc/source/examples/update-print-uris.py
@@ -4,6 +4,7 @@
This behaves somewhat like apt-get --print-uris update."""
import apt_pkg
+
def main():
apt_pkg.init_config()
apt_pkg.init_system()