diff options
author | Paul Varner <fuzzyray@gentoo.org> | 2012-08-24 10:51:56 -0500 |
---|---|---|
committer | Paul Varner <fuzzyray@gentoo.org> | 2012-08-24 10:51:56 -0500 |
commit | 305cc402de2081e1219b4d0457b247ec0fdfb416 (patch) | |
tree | 7522a1f5963983e7d5b73b13670e241ce0008b37 | |
parent | mark dbapi as deprecated. (diff) | |
download | gentoolkit-305cc402de2081e1219b4d0457b247ec0fdfb416.tar.gz gentoolkit-305cc402de2081e1219b4d0457b247ec0fdfb416.tar.bz2 gentoolkit-305cc402de2081e1219b4d0457b247ec0fdfb416.zip |
Strip initial whitespace at the start of the description (Bug 432530).
-rw-r--r-- | pym/gentoolkit/equery/uses.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py index 08ff585..8837e02 100644 --- a/pym/gentoolkit/equery/uses.py +++ b/pym/gentoolkit/equery/uses.py @@ -94,6 +94,11 @@ def display_useflags(output): flag_name += " " + color[in_makeconf](flag.ljust(maxflag_len)) flag_name += " : " + # Strip initial whitespace at the start of the description + # Bug 432530 + if desc: + desc = desc.lstrip() + # print description if restrict: restrict = "(%s %s)" % (pp.emph("Restricted to"), |