From: Paul Varner Date: Fri, 24 Aug 2012 15:51:56 +0000 (-0500) Subject: Strip initial whitespace at the start of the description (Bug 432530). X-Git-Tag: gentoolkit-0.3.0.7~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=305cc402de2081e1219b4d0457b247ec0fdfb416;p=gentoolkit.git Strip initial whitespace at the start of the description (Bug 432530). --- 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"),