[libvirt] [PATCH 2/2] docs: restrict the set of characters for info keys

Eric Blake eblake at redhat.com
Fri Jan 11 23:04:59 UTC 2013


On 01/11/2013 04:20 AM, Claudio Bley wrote:
> When parsing the top level comment of a file, apibuild.py used
> to split on any ':' character of a line regarding the first part
> as a key for a setting, e.g. "Summary". The second part would then
> be assigned as the value for that key.
> 
> This means you could not use a ':' character inside those comments
> without ill effects.
> 
> Now, a key must consist solely of alphanumeric characters, '_' or '.'.

Again, my python is weak; but this time, I compared
http://libvirt.org/html/libvirt-libvirt.html with the result of this
patch, and see the difference ("if not, see
<http:///www.gnu.org/licenses/>." is no longer truncated).  Therefore,

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130111/27adc3e5/attachment-0001.sig>


More information about the libvir-list mailing list