1 |
commit: 305cc402de2081e1219b4d0457b247ec0fdfb416 |
2 |
Author: Paul Varner <fuzzyray <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 24 15:51:56 2012 +0000 |
4 |
Commit: Paul Varner <fuzzyray <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 24 15:51:56 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=305cc402 |
7 |
|
8 |
Strip initial whitespace at the start of the description (Bug 432530). |
9 |
|
10 |
--- |
11 |
pym/gentoolkit/equery/uses.py | 5 +++++ |
12 |
1 files changed, 5 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py |
15 |
index 08ff585..8837e02 100644 |
16 |
--- a/pym/gentoolkit/equery/uses.py |
17 |
+++ b/pym/gentoolkit/equery/uses.py |
18 |
@@ -94,6 +94,11 @@ def display_useflags(output): |
19 |
flag_name += " " + color[in_makeconf](flag.ljust(maxflag_len)) |
20 |
flag_name += " : " |
21 |
|
22 |
+ # Strip initial whitespace at the start of the description |
23 |
+ # Bug 432530 |
24 |
+ if desc: |
25 |
+ desc = desc.lstrip() |
26 |
+ |
27 |
# print description |
28 |
if restrict: |
29 |
restrict = "(%s %s)" % (pp.emph("Restricted to"), |