Commit ac8252bb authored by Michal Čihař's avatar Michal Čihař

Make it clear this is abstract class

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 03283fc1
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
"""Exporter using translate-toolkit""" """Exporter using translate-toolkit"""
from __future__ import unicode_literals from __future__ import unicode_literals
from io import BytesIO
import string import string
from django.http import HttpResponse from django.http import HttpResponse
...@@ -185,6 +184,9 @@ class XMLExporter(BaseExporter): ...@@ -185,6 +184,9 @@ class XMLExporter(BaseExporter):
else: else:
return text.translate(_CHARMAP) return text.translate(_CHARMAP)
def get_storage(self):
raise NotImplementedError()
@register_exporter @register_exporter
class PoXliffExporter(XMLExporter): class PoXliffExporter(XMLExporter):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment