summaryrefslogtreecommitdiff
path: root/doc/examples/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/config.py')
-rwxr-xr-xdoc/examples/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/config.py b/doc/examples/config.py
index 9d4e51fc..0dff4cac 100755
--- a/doc/examples/config.py
+++ b/doc/examples/config.py
@@ -21,7 +21,7 @@ import posixpath
# configuration object apt_pkg.Config which is used interally by apt-pkg
# routines to control unusual situations. I recommend using the sytem global
# whenever possible..
-Cnf = apt_pkg.newConfiguration()
+Cnf = apt_pkg.Configuration()
print "Command line is", sys.argv