="n">cameras</span><span class="p">))</span>   <span class="c1"># Get all of the locations</span>
    <span class="k">elif</span> <span class="n">group</span> <span class="o">==</span> <span class="s1">&#39;env&#39;</span><span class="p">:</span>
        <span class="k">raise</span> <span class="ne">Exception</span><span class="p">(</span><span class="s2">&quot;Environment events must be linked to assets, not Locations. sorry&quot;</span><span class="p">)</span>
    <span class="k">else</span><span class="p