<span class="n">DATABASE_INFO</span><span class="o">.</span><span class="n">items</span><span class="p">()</span> <span class="k">if</span> <span class="n">name</span> <span class="ow">in</span> <span class="bp">cls</span><span class="o">.</span><span class="n">_ACCEPTED_TYPES</span><span class="p">]:</span>
            <span class="k">raise</span> <span class="n">DrillToolError</span><span class="p">(</span><span class="n">f</span><span class="s1">&#39;The extension </span><span class="si">{ext}</span><spa