Strip initial whitespace at the start of the description (Bug 432530).
authorPaul Varner <fuzzyray@gentoo.org>
Fri, 24 Aug 2012 15:51:56 +0000 (10:51 -0500)
committerPaul Varner <fuzzyray@gentoo.org>
Fri, 24 Aug 2012 15:51:56 +0000 (10:51 -0500)
pym/gentoolkit/equery/uses.py

index 08ff585c3c8385a234048b82f0241ba214377a30..8837e025e2a1b3035a1c6648a97fe8992df10a91 100644 (file)
@@ -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"),