summaryrefslogtreecommitdiff
path: root/src/harmless.py
diff options
context:
space:
mode:
authorjvoisin2018-04-02 23:40:08 +0200
committerjvoisin2018-04-02 23:40:08 +0200
commit04a0032e9fef6453b293cbba1464125662eba776 (patch)
tree48d95ee81687c108c16b19e00559acdbacc89039 /src/harmless.py
parentb5a5535e3fbad7abb6551655e8fe463fd7e0a09d (diff)
Add some comments
Diffstat (limited to '')
-rw-r--r--src/harmless.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/harmless.py b/src/harmless.py
index dc543f2..235dabe 100644
--- a/src/harmless.py
+++ b/src/harmless.py
@@ -1,6 +1,7 @@
1from . import abstract 1from . import abstract
2 2
3class HarmlessParser(abstract.AbstractParser): 3class HarmlessParser(abstract.AbstractParser):
4 """ This is the parser for filetypes that do not contain metadata. """
4 mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'} 5 mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'}
5 6
6 def __init__(self, filename: str): 7 def __init__(self, filename: str):