[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Placeholder clarifications - injectable placeholders
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Placeholder clarifications - injectable placeholders |
Date: |
Tue, 27 Aug 2013 11:53:03 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Aug 26, 2013 at 10:48:43PM +0000, Jim Busser wrote:
> Where at
>
>
> http://gitorious.org/gnumed/gnumed/blobs/master/gnumed/gnumed/client/wxpython/gmMacro.py
>
> it reads
>
> 61 #=====================================================================
> 62 # values for the following placeholders must be injected from the
> outside before
> 63 # using them, in use they must conform to the "placeholder::::max
> length" syntax,
> 64 # as long as they resolve to None they return themselves
> 65 _injectable_placeholders = {
> 66 u'form_name_long': None,
> 67 u'form_name_short': None,
> 68 u'form_version': None
>
>
> Can
>
> 64
>
> be updated to (and include an insert for line 65)
>
> # as long as they resolve to None they return their respective names so
> the user
> can know which placeholder was not set.
I changed "user" to "developers" because it doesn't help the
user to know that. They'd need a developer to fix it.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346