span class="k">if</span> <span class="ow">not</span> <span class="nb">hasattr</span><span class="p">(</span><span class="n">uname</span><span class="p">,</span> <span class="s1">&#39;sysname&#39;</span><span class="p">):</span>
        <span class="n">result</span><span class="p">[</span><span class="s1">&#39;uname&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">uname</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">result</span><span class=