def get_attachment_type(self, path):
        return self.config['ATTACHMENT_TYPES'].get(
            posixpath.splitext(path)[1].lower())
Creates the SQL for this query. Returns the SQL string and list
dataset/ETHPy150Open lektor/lektor/lektor/db.py/Database.get_attachment_type--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/backends/oracle/compiler.py/SQLCompiler.as_sql