summaryrefslogtreecommitdiff
path: root/doc/examples/configisc.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-19 17:30:57 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-19 17:30:57 +0200
commitd19943ea8489e06a1f5cd0bd545e0a0aeb4b8551 (patch)
treea41904c7fbeb9065be976b5dd15661c931e644b2 /doc/examples/configisc.py
parenta7026989dd1ea3b70cbfc80cf92077efb2f52ba3 (diff)
downloadpython-apt-d19943ea8489e06a1f5cd0bd545e0a0aeb4b8551.tar.gz
* Update the code to use the new classes.
Diffstat (limited to 'doc/examples/configisc.py')
-rwxr-xr-xdoc/examples/configisc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/configisc.py b/doc/examples/configisc.py
index 8da1ad0a..fe3d161b 100755
--- a/doc/examples/configisc.py
+++ b/doc/examples/configisc.py
@@ -17,7 +17,7 @@ if len(ConfigFile) != 1:
print "Must have exactly 1 file name"
sys.exit(0)
-Cnf = apt_pkg.newConfiguration()
+Cnf = apt_pkg.Configuration()
apt_pkg.ReadConfigFileISC(Cnf, ConfigFile[0])
# Print the configuration space