On Sat, Jun 16, 2007 at 10:30:24AM -0700, Matt Kraai <[EMAIL PROTECTED]> was
heard to say:
> diff -ru update-manager-0.42.2ubuntu22/UpdateManager/UpdateManager.py
> update-manager-0.42.2ubuntu22.new/UpdateManager/UpdateManager.py
> --- update-manager-0.42.2ubuntu22/UpdateManager/UpdateManager.py
> 2006-05-24 08:14:21.000000000 -0700
> +++ update-manager-0.42.2ubuntu22.new/UpdateManager/UpdateManager.py
> 2007-06-16 10:20:12.000000000 -0700
> @@ -83,8 +83,10 @@
> assert self._depcache.BrokenCount == 0 and self._depcache.DelCount
> == 0
> self.all_changes = {}
> def clean(self):
> + action_group = apt_pkg.GetPkgActionGroup(self._depcache)
> for pkg in self:
> pkg.markKeep()
> + action_group.release()
I think you need try/finally here?
Daniel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]