~ubuntu-core-dev/ubuntu/xenial/ubuntu-release-upgrader/xenial

« back to all changes in this revision

Viewing changes to UpdateManager/Core/MetaRelease.py

  • Committer: Michael Vogt
  • Date: 2011-04-04 08:35:59 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110404083559-7usgqbncrtmp9k35
add tests around the distro end of life handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
        # only warn if unsupported and a new dist is available (because 
234
234
        # the development version is also unsupported)
235
235
        if upgradable_to != "" and not current_dist.supported:
236
 
            self.dist_no_longer_supported(upgradable_to)
 
236
            self.dist_no_longer_supported(current_dist)
237
237
        if upgradable_to != "":
238
238
            self.new_dist_available(upgradable_to)
239
239