[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] <bug> gmForms FIXED
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] <bug> gmForms FIXED |
Date: |
Fri, 29 Aug 2008 17:45:18 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Fri, Aug 29, 2008 at 06:45:54AM +0200, Jerzy Luszawski wrote:
> Trying to create letters (menu [Correspondence]/[Write letter]) I fount a
> misspelling in gmForms.py line 283
> 283c283
> < doc = desk.loadComponentFromURL(document_uri, "_blank", 0, ())
> ---
> > doc = desktop.loadComponentFromURL(document_uri, "_blank", 0,
> > ())
>
> Jerzy Luszawski
> 283c283
> < doc = desk.loadComponentFromURL(document_uri, "_blank", 0, ())
> ---
> > doc = desktop.loadComponentFromURL(document_uri, "_blank", 0,
> > ())
Excellent, Jerzy, thanks, fixed in CVS and 0.3 branches !
Branch 0.2.8 did not have this exact problem (it was
probably fixed some time ago) but it had a similar
almost-problem: the local variable was called "desktop"
which shadowed the property "desktop". This didn't seem to
be a problem but in order to rather be safe than sorry I
changed all occurrences of the local variable to "desk" -
IOW the other way round than your patch above.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346