summaryrefslogtreecommitdiff
path: root/doc/examples/cdrom.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-05-05 11:09:26 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-05-05 11:09:26 +0200
commit51c60cb3447247188bb8bf5c82b53e5199878b36 (patch)
tree5f3d6ff39d06199a0423913284149fb6e59436d5 /doc/examples/cdrom.py
parentb08e026fea9ed453d2cbaaa402fe1bd17c6242dd (diff)
parent23d29169c30b2f05a0c2943832a7cf7288ff5802 (diff)
downloadpython-apt-51c60cb3447247188bb8bf5c82b53e5199878b36.tar.gz
merge from the debian-unstable tree
Diffstat (limited to 'doc/examples/cdrom.py')
-rw-r--r--doc/examples/cdrom.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/examples/cdrom.py b/doc/examples/cdrom.py
index 743220a6..408bd720 100644
--- a/doc/examples/cdrom.py
+++ b/doc/examples/cdrom.py
@@ -3,10 +3,8 @@
import apt_pkg
import sys
-import os
-import copy
-from progress import CdromProgress
+from progress import TextCdromProgress
# init
@@ -15,7 +13,7 @@ apt_pkg.init()
cdrom = apt_pkg.GetCdrom()
print cdrom
-progress = CdromProgress()
+progress = TextCdromProgress()
(res, ident) = cdrom.Ident(progress)
print "ident result is: %s (%s) " % (res, ident)