diff options
| author | Michael Vogt <egon@top> | 2005-12-01 11:59:41 +0100 |
|---|---|---|
| committer | Michael Vogt <egon@top> | 2005-12-01 11:59:41 +0100 |
| commit | 8477efa841179e2097066fc0e0f3ef20151da614 (patch) | |
| tree | c9e23407fd881c12b0941693d8a9d05e1b3bd137 /UpdateManager/MetaRelease.py | |
| parent | d0b7e12a48c0df3e0af64fe74333ff1010554a28 (diff) | |
| download | python-apt-8477efa841179e2097066fc0e0f3ef20151da614.tar.gz | |
* MetaRelease.py: comments added
* debian/control: build-depend on python-dev
Diffstat (limited to 'UpdateManager/MetaRelease.py')
| -rw-r--r-- | UpdateManager/MetaRelease.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/UpdateManager/MetaRelease.py b/UpdateManager/MetaRelease.py index 9c887d13..f91e30b6 100644 --- a/UpdateManager/MetaRelease.py +++ b/UpdateManager/MetaRelease.py @@ -37,6 +37,9 @@ class MetaRelease(gobject.GObject): gobject.GObject.__init__(self) self.metarelease_information = None self.downloading = True + # we start the download thread here and we have a timeout + # in the gtk space to test if the download already finished + # this is needed because gtk is not thread-safe t=thread.start_new_thread(self.download, ()) gobject.timeout_add(1000,self.check) |
