From 7d66a39c6a3a8ca30dc507c531d7894435476eec Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 9 Aug 2011 16:03:15 +0200 Subject: * aptsources/sourceslist.py: - fix py3.2 compat issue that causes FTBFS on amd64 tests --- aptsources/sourceslist.py | 2 +- debian/changelog | 9 ++++++++- 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 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 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 -- cgit v1.2.3