| mtpgwlib.magic | index /home/klokan/Projects/MarineTrans/opt/mtpgw/lib/mtpgwlib/magic.py |
magic module
------------
Recognise type of file - based on magic sequence (first several bytes) and
scaning of content..
Supported types are: 'EMAIL', 'MTP', 'MTMLPolarisAttachment',
'MTMLPolarisRequisition', 'XLS'
If unsupported type is recognised DocumentUnsupported exception is thrown.
MTP - Marine Trans Purchasing
Copyright (2005) Klokan Petr Pridal
| Functions | ||
| ||