Merge lp:~evfool/update-manager/fix622489 into lp:update-manager

Proposed by Robert Roth
Status: Merged
Merged at revision: 2169
Proposed branch: lp:~evfool/update-manager/fix622489
Merge into: lp:update-manager
Diff against target: 14 lines (+4/-0)
1 file modified
ubuntu-support-status (+4/-0)
To merge this branch: bzr merge lp:~evfool/update-manager/fix622489
Reviewer Review Type Date Requested Status
Michael Vogt Pending
Review via email: mp+67663@code.launchpad.net

Description of the change

Fix for bug #622489 (Exception: No Date tag found in ubuntu-support-status) by checking for support status in -updates repository if no information is found in the standard repository.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubuntu-support-status'
2--- ubuntu-support-status 2011-02-23 17:11:23 +0000
3+++ ubuntu-support-status 2011-07-12 07:48:40 +0000
4@@ -30,6 +30,10 @@
5 # updated regularly)
6 releasef = get_release_filename_for_pkg(cache, pkgname,
7 "Ubuntu", CODENAME)
8+ if not releasef:
9+ releasef = get_release_filename_for_pkg(cache, pkgname,
10+ "Ubuntu", CODENAME + "-updates")
11+
12 time_t = get_release_date_from_release_file(releasef)
13 # check the release date and show support information
14 # based on this

Subscribers

People subscribed via source and target branches

to status/vote changes: