=</span> <span class="s2">&quot;good&quot;</span><span class="p">:</span>
            <span class="n">tsout</span><span class="o">.</span><span class="n">loc</span><span class="p">[</span><span class="n">miss</span><span class="p">]</span> <span class="o">=</span> <span class="mi">0</span>
        <span class="k">return</span> <span class="n">tsout</span>

    <span class="k">if</span> <span class="nb">hasattr</span><span class="p">(</span><span class="n">ts</span><span class="p">,</span> <span class="s2">&