summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-08-09 16:03:15 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-08-09 16:03:15 +0200
commit7d66a39c6a3a8ca30dc507c531d7894435476eec (patch)
tree544ee9e9c286e494c1eee6f48bc6e87566d1127d
parent325b998b1537fef5e0277f8ad86f38bd46cf05d7 (diff)
downloadpython-apt-7d66a39c6a3a8ca30dc507c531d7894435476eec.tar.gz
* aptsources/sourceslist.py:
- fix py3.2 compat issue that causes FTBFS on amd64 tests
-rw-r--r--aptsources/sourceslist.py2
-rw-r--r--debian/changelog9
2 files changed, 9 insertions, 2 deletions
diff --git a/aptsources/sourceslist.py b/aptsources/sourceslist.py
index b85e6947..62442cc3 100644
--- a/aptsources/sourceslist.py
+++ b/aptsources/sourceslist.py
@@ -374,7 +374,7 @@ class SourcesList(object):
source = SourceEntry(line, file)
self.list.append(source)
except:
- print "could not open file '%s'" % file
+ sys.stderr.write("could not open file '%s'\n" % file)
def save(self):
""" save the current sources """
diff --git a/debian/changelog b/debian/changelog
index 62721860..c03e304c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,17 @@
-python-apt (0.8.0ubuntu3) oneiric; urgency=low
+python-apt (0.8.0ubuntu4) oneiric; urgency=low
* apt/package.py:
- fix py3 compatbility with print
-- Michael Vogt <michael.vogt@ubuntu.com> Tue, 09 Aug 2011 09:19:42 +0200
+python-apt (0.8.0ubuntu3) oneiric; urgency=low
+
+ * aptsources/sourceslist.py:
+ - fix py3.2 compat issue that causes FTBFS on amd64 tests
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 08 Aug 2011 22:48:43 +0200
+
python-apt (0.8.0ubuntu2) oneiric; urgency=low
* disable tests if /etc/apt/sources.list is not readable