Package: python-apt Version: 0.8.0~exp4 Severity: wishlist Tags: patch please find attached
=== modified file 'apt/cache.py' --- apt/cache.py 2011-05-13 18:17:44 +0000 +++ apt/cache.py 2011-05-13 18:59:06 +0000 @@ -506,7 +506,7 @@ self._callbacks[name].append(callback) def actiongroup(self): - """Return an ActionGroup() object for the current cache. + """Return an action group object for the current cache. Action groups can be used to speedup actions. The action group is active as soon as it is created, and disabled when the object is @@ -519,7 +519,7 @@ for package in my_selected_packages: package.mark_install() - This way, the ActionGroup is automatically released as soon as the + This way, the action group is automatically released as soon as the with statement block is left. It also has the benefit of making it clear which parts of the code run with a action group and which don't.