diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-08-09 16:03:15 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-08-09 16:03:15 +0200 |
| commit | 7d66a39c6a3a8ca30dc507c531d7894435476eec (patch) | |
| tree | 544ee9e9c286e494c1eee6f48bc6e87566d1127d | |
| parent | 325b998b1537fef5e0277f8ad86f38bd46cf05d7 (diff) | |
| download | python-apt-7d66a39c6a3a8ca30dc507c531d7894435476eec.tar.gz | |
* aptsources/sourceslist.py:
- fix py3.2 compat issue that causes FTBFS on amd64 tests
| -rw-r--r-- | aptsources/sourceslist.py | 2 | ||||
| -rw-r--r-- | 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 <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 |
