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

« back to all changes in this revision

Viewing changes to UpdateManager/Core/MetaRelease.py

  • Committer: Michael Terry
  • Date: 2012-05-15 19:43:43 UTC
  • mto: This revision was merged to the branch mainline in revision 2428.
  • Revision ID: michael.terry@canonical.com-20120515194343-tocvo0awttmggie1
update several strings to match the software updater spec; most notably, rename from Update Manager to Software Updater

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
except ImportError:
43
43
    from urllib2 import HTTPError, Request, URLError, urlopen
44
44
 
45
 
from .utils import get_lang, get_dist, get_ubuntu_flavor
 
45
from .utils import get_lang, get_dist, get_dist_description, get_ubuntu_flavor
46
46
 
47
47
class Dist(object):
48
48
    def __init__(self, name, version, date, supported):
81
81
        self.downloading = True
82
82
        self.new_dist = None
83
83
        self.current_dist_name = get_dist()
 
84
        self.current_dist_description = get_dist_description()
84
85
        self.no_longer_supported = None
85
86
 
86
87
        # default (if the conf file is missing)