|
@ -14,14 +14,14 @@ from collections import defaultdict |
|
|
from contextlib import contextmanager |
|
|
from contextlib import contextmanager |
|
|
from functools import partial |
|
|
from functools import partial |
|
|
|
|
|
|
|
|
import yaml |
|
|
|
|
|
|
|
|
|
|
|
import git |
|
|
import git |
|
|
import magic |
|
|
import magic |
|
|
import pyaml |
|
|
import pyaml |
|
|
|
|
|
import yaml |
|
|
|
|
|
from unipath import Path |
|
|
|
|
|
|
|
|
import ZODB.DB |
|
|
import ZODB.DB |
|
|
import ZODB.FileStorage |
|
|
import ZODB.FileStorage |
|
|
from unipath import Path |
|
|
|
|
|
from ZODB.broken import Broken |
|
|
from ZODB.broken import Broken |
|
|
|
|
|
|
|
|
EXTENSOES = { |
|
|
EXTENSOES = { |
|
@ -32,10 +32,14 @@ EXTENSOES = { |
|
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': '.docx', # noqa |
|
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': '.docx', # noqa |
|
|
'application/vnd.oasis.opendocument.text-template': '.ott', |
|
|
'application/vnd.oasis.opendocument.text-template': '.ott', |
|
|
'application/vnd.ms-powerpoint': '.ppt', |
|
|
'application/vnd.ms-powerpoint': '.ppt', |
|
|
|
|
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': '.xlsx', # noqa |
|
|
|
|
|
'application/vnd.oasis.opendocument.spreadsheet': '.ods', |
|
|
|
|
|
|
|
|
'application/xml': '.xml', |
|
|
'application/xml': '.xml', |
|
|
'text/xml': '.xml', |
|
|
'text/xml': '.xml', |
|
|
'application/zip': '.zip', |
|
|
'application/zip': '.zip', |
|
|
|
|
|
'application/x-rar': '.rar', |
|
|
|
|
|
|
|
|
'image/jpeg': '.jpeg', |
|
|
'image/jpeg': '.jpeg', |
|
|
'image/png': '.png', |
|
|
'image/png': '.png', |
|
|
'image/gif': '.gif', |
|
|
'image/gif': '.gif', |
|
|