~ubuntu-core-dev/update-manager/main

« back to all changes in this revision

Viewing changes to UpdateManager/MetaReleaseGObject.py

  • Committer: Julian Andres Klode
  • Date: 2018-03-15 10:22:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2807.
  • Revision ID: juliank@ubuntu.com-20180315102201-77hgsrk34hcbcbtl
Use HTTPS for changelogs.ubuntu.com (LP: #1744318)

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
                             ())
40
40
    }
41
41
 
42
 
    def __init__(self, useDevelopmentRelease=False, useProposed=False,
43
 
                 debug=False):
 
42
    def __init__(self, useDevelopmentRelease=False, useProposed=False):
44
43
        GObject.GObject.__init__(self)
45
 
        MetaReleaseCore.__init__(self, useDevelopmentRelease, useProposed,
46
 
                                 debug)
 
44
        MetaReleaseCore.__init__(self, useDevelopmentRelease, useProposed)
47
45
        # in the gtk space to test if the download already finished
48
46
        # this is needed because gtk is not thread-safe
49
47
        GLib.timeout_add_seconds(1, self.check)