Merge lp:~cr3/ubuntu/quantal/unattended-upgrades/1046438 into lp:ubuntu/quantal/unattended-upgrades

Proposed by Marc Tardif
Status: Work in progress
Proposed branch: lp:~cr3/ubuntu/quantal/unattended-upgrades/1046438
Merge into: lp:ubuntu/quantal/unattended-upgrades
Diff against target: 32 lines (+5/-1)
2 files modified
debian/changelog (+4/-0)
unattended-upgrade (+1/-1)
To merge this branch: bzr merge lp:~cr3/ubuntu/quantal/unattended-upgrades/1046438
Reviewer Review Type Date Requested Status
Brian Murray Needs Fixing
Ubuntu branches Pending
Review via email: mp+122914@code.launchpad.net

Description of the change

* Fixed debug output when a package has no candidates (LP: #1046438)

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

The development branch of unattended-upgrades is http://bazaar.launchpad.net/~ubuntu-core-dev/unattended-upgrades/ubuntu/ and it would be great if you could have your merge proposal be into that branch.

Additionally, if the Ubuntu branch were up to date, which it doesn't look like it is, you want to create a new changelog entry not modify an existing changelog entry for an already released package.

Thanks!

review: Needs Fixing
Revision history for this message
Brian Murray (brian-murray) wrote :

Ping me when you have a new merge proposal and I'll be happy to merge it.

Revision history for this message
Marc Tardif (cr3) wrote :

Sorry for the delay, here is the merge request upstream:

https://code.launchpad.net/~cr3/unattended-upgrades/1046438/+merge/124292

Should I still modify the changelog to create another entry in this branch?

Unmerged revisions

27. By Marc Tardif

Fixed debug output when a package has no candidates (LP: #1046438)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-12-12 14:01:41 +0000
3+++ debian/changelog 2012-09-05 17:23:18 +0000
4@@ -1,11 +1,15 @@
5 unattended-upgrades (0.75.1) unstable; urgency=low
6
7+ [ Michael Vogt ]
8 * print conffile hold-backs to stdout to ensure its part of
9 the cron mail (LP: #773007), thanks to Jean-Baptiste Lallement
10 * unattended-upgrade:
11 - fix crash on automatic-reboot, thanks to Teodor (closes: #651822)
12 * typo fixes, thanks to Lei Zhang
13
14+ [ Marc Tardif ]
15+ * Fixed debug output when a package has no candidates (LP: #1046438)
16+
17 -- Michael Vogt <mvo@debian.org> Mon, 12 Dec 2011 14:01:41 +0100
18
19 unattended-upgrades (0.75) unstable; urgency=low
20
21=== modified file 'unattended-upgrade'
22--- unattended-upgrade 2011-12-12 14:01:41 +0000
23+++ unattended-upgrade 2012-09-05 17:23:18 +0000
24@@ -663,7 +663,7 @@
25 # now do the actual upgrade
26 for pkg in cache:
27 if options.debug and pkg.is_upgradable:
28- logging.debug("Checking: %s (%s)" % (pkg.name, map(str, pkg.candidate.origins)))
29+ logging.debug("Checking: %s (%s)" % (pkg.name, map(str, getattr(pkg.candidate, "origins", []))))
30 if (pkg.is_upgradable and
31 is_allowed_origin(pkg.candidate, allowed_origins)):
32 try:

Subscribers

People subscribed via source and target branches

to all changes: