summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 dc2a5d45..cb36d9df 100644
--- a/aptsources/sourceslist.py
+++ b/aptsources/sourceslist.py
@@ -144,7 +144,7 @@ class SourceEntry:
return
if line[0] == "#":
self.disabled = True
- pieces = line[1:].strip()
+ pieces = line[1:].strip().split()
# if it looks not like a disabled deb line return
if not pieces[0] in ("rpm", "rpm-src", "deb", "deb-src"):
self.invalid = True
diff --git a/debian/changelog b/debian/changelog
index 1c0c40a3..e334fcad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,11 @@
-python-apt (0.7.9~exp2ubuntu8) jaunty; urgency=low
+bpython-apt (0.7.9~exp2ubuntu9) jaunty; urgency=low
+
+ * aptsources/sourceslist.py:
+ - fix bug in invalid lines detection (LP: #324614)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 19 Mar 2009 14:09:50 +0100
+
+bpython-apt (0.7.9~exp2ubuntu8) jaunty; urgency=low
* Rebuild for python2.6.
* Call dh_pycentral with "DH_PYCENTRAL=include-links".