parameters: (self, filename)
docstring: Appends an remove instruction for this patch.
              This was ported from
              mozilla/tools/update-packaging/common.sh/make_remove_instruction
docstring_summary: Appends an remove instruction for this patch.
              This was ported from
              mozilla/tools/update-packaging/common.sh/make_remove_instruction
docstring_tokens: Appends an remove instruction for this patch . This was ported from mozilla / tools / update - packaging / common . sh / make_remove_instruction
function: def append_remove_instruction(self, filename):
          """ Appends an remove instruction for this patch.
              This was ported from
              mozilla/tools/update-packaging/common.sh/make_remove_instruction
          """
          if filename.endswith("/"):
              print '      rmdir "'+filename+'"'
              self.manifestv2.append('rmdir "'+filename+'"')
              self.manifestv3.append('rmdir "'+filename+'"')
          elif filename.endswith("/*"):
              filename = filename[:-1]
              print '    rmrfdir "'+filename+'"'
              self.manifestv2.append('rmrfdir "'+filename+'"')
              self.manifestv3.append('rmrfdir "'+filename+'"')
          else:
              print '     remove "'+filename+'"'
              self.manifestv2.append('remove "'+filename+'"')
              self.manifestv3.append('remove "'+filename+'"')
function_tokens: def append_remove_instruction ( self , filename ) : if filename . endswith ( "/" ) : print '      rmdir "' + filename + '"' self . manifestv2 . append ( 'rmdir "' + filename + '"' ) self . manifestv3 . append ( 'rmdir "' + filename + '"' ) elif filename . endswith ( "/*" ) : filename = filename [ : - 1 ] print '    rmrfdir "' + filename + '"' self . manifestv2 . append ( 'rmrfdir "' + filename + '"' ) self . manifestv3 . append ( 'rmrfdir "' + filename + '"' ) else : print '     remove "' + filename + '"' self . manifestv2 . append ( 'remove "' + filename + '"' ) self . manifestv3 . append ( 'remove "' + filename + '"' )