summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-11-10 10:05:55 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-11-10 10:05:55 +0100
commit1948d5d03887eb81ea7797c0f23049ef6c3895ce (patch)
treef8ed53ebfd639d1369075cc86c0f9cb58eb85100
parentd7c8f470a236d70fa6ce8eb0e522702fee64ff5e (diff)
downloadpython-apt-1948d5d03887eb81ea7797c0f23049ef6c3895ce.tar.gz
* apt/cache.py:
- remove "print" when creating dirs in apt.Cache(rootdir=dir), thanks to Martin Pitt
-rw-r--r--apt/cache.py2
-rw-r--r--debian/changelog3
2 files changed, 4 insertions, 1 deletions
diff --git a/apt/cache.py b/apt/cache.py
index bab5c277..a4585277 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -111,7 +111,7 @@ class Cache(object):
]
for d in dirs:
if not os.path.exists(rootdir + d):
- print "creating: ", rootdir + d
+ #print "creating: ", rootdir + d
os.makedirs(rootdir + d)
for f in files:
if not os.path.exists(rootdir + f):
diff --git a/debian/changelog b/debian/changelog
index 6fbc5241..f5ae2b79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,9 @@ python-apt (0.8.2) UNRELEASED; urgency=low
- updated, thanks to Nikola Nenadic (closes: #638308)
* python/apt_pkgmodule.cc:
- add apt_pkg.get_architectures() call
+ * apt/cache.py:
+ - remove "print" when creating dirs in apt.Cache(rootdir=dir),
+ thanks to Martin Pitt
[ Tshepang Lekhonkhobe ]
* rm usage of camelcase in cache.py doc (closes: #626617)