~mvo/unattended-upgrades/gtk-ui

« back to all changes in this revision

Viewing changes to unattended-upgrade

  • Committer: Michael Vogt
  • Date: 2009-07-21 09:47:39 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090721094739-kj4q275c1s4e8trj
remove unneeded action group in rewind cache again

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
def rewind_cache(cache, pkgs_to_upgrade):
144
144
    " set the cache back to the state with packages_to_upgrade "
145
145
    cache.clear()
146
 
    action_group = apt_pkg.GetPkgActionGroup(cache._depcache)
147
146
    for pkg2 in pkgs_to_upgrade:
148
147
        pkg2.markUpgrade()
149
148