Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261666 - app-portage/layman-1.2.3: overlays.xml gets more blank lines with every add/delete
Summary: app-portage/layman-1.2.3: overlays.xml gets more blank lines with every add/d...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Sebastian Pipping
Depends on:
Reported: 2009-03-08 11:18 UTC by Martin Walch
Modified: 2009-12-29 01:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2009-03-08 11:18:11 UTC
With every add or delete operation, each overlay node will get eight additional lines, containing different amounts of whitespace: 

four between <overlay> and <link>
one between <link> and http://...
one between http://... and </link>
one between <description> and the description text
one between the description text and </description>

This makes the file hard to read.
Comment 1 Sebastian Pipping gentoo-dev 2009-12-24 14:59:58 UTC
Indeed, sucks big time :-)
Comment 2 Sebastian Pipping gentoo-dev 2009-12-29 01:13:23 UTC
This is fixed now as a consequence of migrating Layman to ElementTree.
You can emerge app-portage/layman-9999 (Layman live ebuild) to check it out.;a=commitdiff;h=507e8f4451e53de613228761b9bbf1a5d82f25cb