Skip to content
Snippets Groups Projects
harmless.py 480 B
Newer Older
  • Learn to ignore specific revisions
  • from typing import Dict
    
    from . import abstract
    
    
    class HarmlessParser(abstract.AbstractParser):
    
        """ This is the parser for filetypes that do not contain metadata. """
    
        mimetypes = {'text/plain', }
    
        def __init__(self, filename: str) -> None:
    
            super().__init__(filename)
    
            self.filename = filename
            self.output_filename = filename
    
    
        def get_meta(self) -> Dict[str, str]:
    
        def remove_all(self) -> bool: