Fixed same-line assignment of a python global