Skip to content
Snippets Groups Projects
Select Git revision
  • 4ee091d833b55932fec345cc7403ef3723ecbd2f
  • master default
  • fix_heic
  • 0.13.5 protected
  • 0.13.4 protected
  • 0.13.3 protected
  • 0.13.2 protected
  • 0.13.1 protected
  • 0.13.0 protected
  • 0.12.4 protected
  • 0.12.3 protected
  • 0.12.2 protected
  • 0.12.1 protected
  • 0.12.0 protected
  • 0.11.0 protected
  • 0.10.1 protected
  • 0.10.0 protected
  • 0.9.0 protected
  • 0.8.0 protected
  • 0.7.0 protected
  • 0.6.0 protected
  • 0.5.0 protected
  • 0.4.0 protected
23 results

__init__.py

Blame
  • harmless.py 426 B
    from . import abstract
    
    class HarmlessParser(abstract.AbstractParser):
        """ This is the parser for filetypes that do not contain metadata. """
        mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'}
    
        def __init__(self, filename: str):
            self.filename = filename
            self.output_filename = filename
    
        def get_meta(self):
            return dict()
    
        def remove_all(self):
            return True