def stop(self, io_handler, bundle_id, *bundles_ids):
        """
        Stops the bundles with the given IDs. Stops on first failure.
        """
        for bid in (bundle_id,) + bundles_ids:
            bundle = self.__get_bundle(io_handler, bid)
            if bundle is not None:
                io_handler.write_line(
                    "Stopping bundle {0} ({1})...",
                    bid,
                    bundle.get_symbolic_name(),
                )
                bundle.stop()
            else:
                return False

        return None
def stop ( self , io_handler , bundle_id , * bundles_ids ) : for bid in ( bundle_id , ) + bundles_ids : bundle = self . __get_bundle ( io_handler , bid ) if bundle is not None : io_handler . write_line ( "Stopping bundle {0} ({1})..." , bid , bundle . get_symbolic_name ( ) , ) bundle . stop ( ) else : return False return None
Stops the bundles with the given IDs. Stops on first failure.