Commit 4633817d authored by Nicolas Delaby's avatar Nicolas Delaby

* import mimemapper instance from its new location

Temporary fix before implementing support of multiple handlers in each public method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@44938 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 249c0a77
...@@ -32,14 +32,16 @@ from mimetypes import guess_all_extensions, guess_extension ...@@ -32,14 +32,16 @@ from mimetypes import guess_all_extensions, guess_extension
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
from zope.interface import implements from zope.interface import implements
from interfaces.manager import IManager, IERP5Compatibility from interfaces.manager import IManager, IERP5Compatibility
from handler.ooo.granulator import OOGranulator
from handler.ooo.mimemapper import mimemapper
from utils.utils import logger from utils.utils import logger
from cloudooo.interfaces.granulate import ITableGranulator from cloudooo.interfaces.granulate import ITableGranulator
from cloudooo.interfaces.granulate import IImageGranulator from cloudooo.interfaces.granulate import IImageGranulator
from cloudooo.interfaces.granulate import ITextGranulator from cloudooo.interfaces.granulate import ITextGranulator
from fnmatch import fnmatch from fnmatch import fnmatch
#XXX Must be removed
from cloudooo.handler.ooo.granulator import OOGranulator
from cloudooo.handler.ooo.mimemapper import mimemapper
class HandlerNotFound(Exception): class HandlerNotFound(Exception):
pass pass
......
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