summaryrefslogtreecommitdiff
path: root/UpdateManager/MetaRelease.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-01-23 18:55:54 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-01-23 18:55:54 +0100
commit39915e9f6f204c2ded4d976621b6a1a37b6c3548 (patch)
tree9d6185a9b1ab9bec7579e369e8c0034c07c06abe /UpdateManager/MetaRelease.py
parent166f645a65b1230cfb58f359e3c70c441b9fe09b (diff)
downloadpython-apt-39915e9f6f204c2ded4d976621b6a1a37b6c3548.tar.gz
* added check if the download size fits onto the download partition
Diffstat (limited to 'UpdateManager/MetaRelease.py')
-rw-r--r--UpdateManager/MetaRelease.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/UpdateManager/MetaRelease.py b/UpdateManager/MetaRelease.py
index 451c48f0..c5d28212 100644
--- a/UpdateManager/MetaRelease.py
+++ b/UpdateManager/MetaRelease.py
@@ -100,7 +100,7 @@ class MetaRelease(gobject.GObject):
#print name
rawdate = index_tag.Section["Date"]
date = time.mktime(rfc822.parsedate(rawdate))
- supported = index_tag.Section["Supported"]
+ supported = bool(index_tag.Section["Supported"])
# add the information to a new date object
dist = Dist(name,date,supported)
if index_tag.Section.has_key("ReleaseNotes"):