summaryrefslogtreecommitdiff
path: root/doc/examples/cdrom.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-01-11 19:30:07 +0100
committerJulian Andres Klode <jak@debian.org>2009-01-11 19:30:07 +0100
commitb237760c6d7009f9833b86e6dbfc3cbf6d059977 (patch)
tree19dd8f4f11b1c004a7f9bbb2b9e9f545d0ed2492 /doc/examples/cdrom.py
parent31cdfa2e20361f76f6e011bbcdad19f9daa1f58f (diff)
parent7b14352c54b7acbf2a68240fa960e188c6e8742a (diff)
downloadpython-apt-b237760c6d7009f9833b86e6dbfc3cbf6d059977.tar.gz
Merge Ben Finney's whitespace changes (Closes: #481563)
Diffstat (limited to 'doc/examples/cdrom.py')
-rw-r--r--doc/examples/cdrom.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/doc/examples/cdrom.py b/doc/examples/cdrom.py
index bf044d7c..743220a6 100644
--- a/doc/examples/cdrom.py
+++ b/doc/examples/cdrom.py
@@ -2,7 +2,8 @@
# example how to deal with the depcache
import apt_pkg
-import sys, os
+import sys
+import os
import copy
from progress import CdromProgress
@@ -16,17 +17,11 @@ print cdrom
progress = CdromProgress()
-(res,ident) = cdrom.Ident(progress)
+(res, ident) = cdrom.Ident(progress)
print "ident result is: %s (%s) " % (res, ident)
apt_pkg.Config.Set("APT::CDROM::Rename", "True")
cdrom.Add(progress)
-
-
print "Exiting"
sys.exit(0)
-
-
-
-