Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Raised when an unknown extension 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:
            mime_type, encoding = mimetypes.guess_type(url)
        if mime_type is None:
            raise UnknownExtension('Unable to get MIME type for %s' % url)
        # get an adapter for this mime type