Esempio n. 1
0
 def execute(self, ns, package_array):
     """
     :rtype: (``list``) Packages from ``package_array``, that were
         successfuly removed.
     """
     return for_each_package_specs(ns, package_array, 'remove',
             lambda identity: software.remove_package(ns, identity))
Esempio n. 2
0
 def execute(self, ns, package_array):
     """
     :rtype: (``list``) Packages from ``package_array``, that were
         successfuly removed.
     """
     return for_each_package_specs(ns, package_array, 'remove',
             lambda identity: software.remove_package(ns, identity))