code: def remove_line_from_file(self,
  	                          line,
  	                          filename,
  	                          shutit_pexpect_child=None,
  	                          match_regexp=None,
  	                          literal=False,
  	                          note=None,
  	                          loglevel=logging.DEBUG):
  		
  		shutit_global.shutit_global_object.yield_to_draw()
  		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_line_from_file(line,filename,match_regexp=match_regexp,literal=literal,note=note,loglevel=loglevel)
docs: Removes line from file, if it exists.
  		Must be exactly the line passed in to match.
  		Returns True if there were no problems, False if there were.
  
  		@param line:          Line to remove.
  		@param filename       Filename to remove it from.
  		@param shutit_pexpect_child:         See send()
  		@param match_regexp:  If supplied, a regexp to look for in the file
  		                      instead of the line itself,
  		                      handy if the line has awkward characters in it.
  		@param literal:       If true, then simply grep for the exact string without
  		                      bash interpretation. (Default: False)
  		@param note:          See send()
  
  		@type line:           string
  		@type filename:       string
  		@type match_regexp:   string
  		@type literal:        boolean
  
  		@return:              True if the line was matched and deleted, False otherwise.
  		@rtype:               boolean