summaryrefslogtreecommitdiff
path: root/UpdateManager/Common/aptsources.py
diff options
context:
space:
mode:
authorglatzor@ubuntu.com <>2006-08-04 10:40:00 +0200
committerglatzor@ubuntu.com <>2006-08-04 10:40:00 +0200
commit6610fc16d211497195a02783ab52b3216bacce3c (patch)
tree5a67673b8b09dd54bd6e1555d64d54e0a62342a1 /UpdateManager/Common/aptsources.py
parentdde2af913b3f26958f93f604d7a75e61e64ec7f1 (diff)
parent929083adc50a07221eacdb369b094e04ac7d7214 (diff)
downloadpython-apt-6610fc16d211497195a02783ab52b3216bacce3c.tar.gz
* merge with mvo
Diffstat (limited to 'UpdateManager/Common/aptsources.py')
-rw-r--r--UpdateManager/Common/aptsources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/UpdateManager/Common/aptsources.py b/UpdateManager/Common/aptsources.py
index 3d317b15..fd77fe63 100644
--- a/UpdateManager/Common/aptsources.py
+++ b/UpdateManager/Common/aptsources.py
@@ -452,7 +452,7 @@ class Distribution:
# get the LSB information
lsb_info = []
for lsb_option in ["-i", "-c", "-d", "-r"]:
- pipe = os.popen("lsb_release %s | cut -d : -f 2-" % lsb_option)
+ pipe = os.popen("lsb_release %s -s" % lsb_option)
lsb_info.append(pipe.read().strip())
del pipe
(self.id, self.codename, self.description, self.release) = lsb_info