1 |
Author: scarabeus |
2 |
Date: 2010-11-02 13:53:19 +0000 (Tue, 02 Nov 2010) |
3 |
New Revision: 842 |
4 |
|
5 |
Modified: |
6 |
trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py |
7 |
trunk/gentoolkit/pym/gentoolkit/eshowkw/display_pretty.py |
8 |
Log: |
9 |
Fix error on rotate content and py3 compat. |
10 |
|
11 |
Modified: trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py |
12 |
=================================================================== |
13 |
--- trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py 2010-10-31 12:00:10 UTC (rev 841) |
14 |
+++ trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py 2010-11-02 13:53:19 UTC (rev 842) |
15 |
@@ -38,7 +38,7 @@ |
16 |
header_length = portdata.version_length |
17 |
content_length = keywords.length |
18 |
else: |
19 |
- header = string_rotator().rotateContent(portdata.content, portdata.content_length, order, bold) |
20 |
+ header = string_rotator().rotateContent(portdata.content, portdata.content_length, bold) |
21 |
content = keywords.content |
22 |
sep = [''.ljust(keywords.length) for x in range(portdata.slot_length-1)] |
23 |
content.extend(sep) |
24 |
|
25 |
Modified: trunk/gentoolkit/pym/gentoolkit/eshowkw/display_pretty.py |
26 |
=================================================================== |
27 |
--- trunk/gentoolkit/pym/gentoolkit/eshowkw/display_pretty.py 2010-10-31 12:00:10 UTC (rev 841) |
28 |
+++ trunk/gentoolkit/pym/gentoolkit/eshowkw/display_pretty.py 2010-11-02 13:53:19 UTC (rev 842) |
29 |
@@ -21,7 +21,7 @@ |
30 |
if toplist == 'archlist': |
31 |
data_printout.extend(plain_list) |
32 |
output.extend(data_printout) |
33 |
- print print_content(output) |
34 |
+ print(print_content(output)) |
35 |
|
36 |
def align_string(string, align, length): |
37 |
"""Align string to the specified alignment (left or right, and after rotation it becames top and bottom)""" |