summaryrefslogtreecommitdiff
path: root/src/harmless.py
blob: dc543f227afffe83c80afadaf014dca526239ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from . import abstract

class HarmlessParser(abstract.AbstractParser):
    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