~ubuntu-branches/ubuntu/lucid/update-manager/lucid-security

« back to all changes in this revision

Viewing changes to UpdateManager/Core/MetaRelease.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-04-01 00:10:14 UTC
  • Revision ID: james.westby@ubuntu.com-20100401001014-tw01ypskhf46lmo0
Tags: 1:0.133.11
* UpdateManager/GtkProgress.py:
  - remove window title on cache progress (LP: #549936)
* check-new-release-gtk:
  - if no ReleaseNotesHtml key is found, do nothing (it means the
    meta-release file does not support this client)
* check-new-release-gtk, UpdateManager/Core/MetaRelease.py: 
  - improve debugging
* UpdateManager/Core/utils.py:
  - add META_RELEASE_FAKE_CODENAME environment that can be used to
    test/force release upgrades
* check-new-release-gtk:
  - append language parameter to uri
  - support --debug

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
        while step_result:
186
186
            if index_tag.Section.has_key("Dist"):
187
187
                name = index_tag.Section["Dist"]
188
 
                #print name
 
188
                logging.debug("found distro name: '%s'" % name)
189
189
                rawdate = index_tag.Section["Date"]
190
190
                date = time.mktime(rfc822.parsedate(rawdate))
191
191
                supported = int(index_tag.Section["Supported"])
209
209
        # information. if not, we assume that we run on something not
210
210
        # supported and silently return
211
211
        if current_dist is None:
212
 
            #sys.stderr.write("current dist not found in meta-release file\n")
 
212
            logging.debug("current dist not found in meta-release file\n")
213
213
            return False
214
214
 
215
215
        # then see what we can upgrade to