summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-05-25 12:39:37 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-05-25 12:39:37 +0200
commit553330ac3391dd3647dac961d7653179a11c55e3 (patch)
tree4fc7b6b1a20deccf3a699d819791742423239703 /UpdateManager
parent49609837f2fd98508382886b30e7e3845dd3be1f (diff)
downloadpython-apt-553330ac3391dd3647dac961d7653179a11c55e3.tar.gz
* brown paperback fix
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/MetaRelease.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/UpdateManager/MetaRelease.py b/UpdateManager/MetaRelease.py
index 681190c8..57a808ee 100644
--- a/UpdateManager/MetaRelease.py
+++ b/UpdateManager/MetaRelease.py
@@ -106,8 +106,9 @@ class MetaRelease(gobject.GObject):
rawdate = index_tag.Section["Date"]
date = time.mktime(rfc822.parsedate(rawdate))
supported = bool(index_tag.Section["Supported"])
+ version = index_tag.Section["Version"]
# add the information to a new date object
- dist = Dist(name,date,supported)
+ dist = Dist(name, version, date,supported)
if index_tag.Section.has_key("ReleaseNotes"):
dist.releaseNotesURI = index_tag.Section["ReleaseNotes"]
if index_tag.Section.has_key("UpgradeTool"):