def remove(self,
	           package,
	           shutit_pexpect_child=None,
	           options=None,
	           echo=None,
	           timeout=shutit_global.shutit_global_object.default_timeout,
	           note=None):
		"""Distro-independent remove function.
		Takes a package name and runs relevant remove function.

		@param package:  Package to remove, which is run through package_map.
		@param shutit_pexpect_child:    See send()
		@param options:  Dict of options to pass to the remove command,
		                 mapped by install_type.
		@param timeout:  See send(). Default: 3600
		@param note:     See send()

		@return: True if all ok (i.e. the package was successfully removed),
		         False otherwise.
		@rtype: boolean
		"""
		shutit_global.shutit_global_object.yield_to_draw()
		# If separated by spaces, remove separately
		if package.find(' ') != -1:
			for p in package.split(' '):
				self.install(p,shutit_pexpect_child=shutit_pexpect_child,options=options,timeout=timeout,note=note)
		shutit_pexpect_child = shutit_pexpect_child or self.get_current_shutit_pexpect_session().pexpect_child
		shutit_pexpect_session = self.get_shutit_pexpect_session_from_child(shutit_pexpect_child)
		return shutit_pexpect_session.remove(package,
		                                     echo=echo,
		                                     options=options,
		                                     timeout=timeout,
		                                     note=note)
def remove ( self , package , shutit_pexpect_child = None , options = None , echo = None , timeout = shutit_global . shutit_global_object . default_timeout , note = None ) : shutit_global . shutit_global_object . yield_to_draw ( ) if package . find ( ' ' ) != - 1 : for p in package . split ( ' ' ) : self . install ( p , shutit_pexpect_child = shutit_pexpect_child , options = options , timeout = timeout , note = note ) shutit_pexpect_child = shutit_pexpect_child or self . get_current_shutit_pexpect_session ( ) . pexpect_child shutit_pexpect_session = self . get_shutit_pexpect_session_from_child ( shutit_pexpect_child ) return shutit_pexpect_session . remove ( package , echo = echo , options = options , timeout = timeout , note = note )
Distro-independent remove function.
		Takes a package name and runs relevant remove function.

		@param package:  Package to remove, which is run through package_map.
		@param shutit_pexpect_child:    See send()
		@param options:  Dict of options to pass to the remove command,
		                 mapped by install_type.
		@param timeout:  See send(). Default: 3600
		@param note:     See send()

		@return: True if all ok (i.e. the package was successfully removed),
		         False otherwise.
		@rtype: boolean