[Libreoffice] Rewiew needed for pythonscript.py patch (new try)
caolanm at redhat.com
Mon Mar 14 06:20:42 PDT 2011
On Mon, 2011-03-14 at 12:56 +0000, serv serva wrote:
> I added this because of a warning (error) with pychecker. On the
> contrary of the other blocks, the variable uri "wasn't" declared and
> initialized whereas it was used in this block.
Ah, i see it now, its a use of that "uri" inside the log.debug line.
Indeed, if logging was turned on then replaceByName would fail due to a
missing uri, so its a good fix after all
More information about the LibreOffice