Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Raised when an unknown file type is encountered.

src/i/n/indexer-0.6.2/indexable_objects.py   indexer(Download)
from indexer.query_objects import tokenize
from indexer._exceptions import UnknownExtension, UnknownFileType
class IIndexableObject:
            self.adapter = FILE_ADAPTERS[mime_type](encoding)
        except KeyError:
            raise UnknownFileType('Unable to get an adapter for MIME type %s'
                                  % mime_type)
        # XXXFIXME: automaticly guess encoding from file ?