diff options
author | scarabeus <scarabeus@gentoo.org> | 2010-11-02 13:53:19 +0000 |
---|---|---|
committer | scarabeus <scarabeus@gentoo.org> | 2010-11-02 13:53:19 +0000 |
commit | de49cc90a8bebe5231ba9b143e888ffcf20ff4ad (patch) | |
tree | bb0d3743df495fa687937a19e6c10b214f6b1714 /pym/gentoolkit/eshowkw | |
parent | Extend PORTDIR_OVERLAY rather than overriding it to not create warnings. (diff) | |
download | gentoolkit-de49cc90a8bebe5231ba9b143e888ffcf20ff4ad.tar.gz gentoolkit-de49cc90a8bebe5231ba9b143e888ffcf20ff4ad.tar.bz2 gentoolkit-de49cc90a8bebe5231ba9b143e888ffcf20ff4ad.zip |
Fix error on rotate content and py3 compat.
svn path=/trunk/gentoolkit/; revision=842
Diffstat (limited to 'pym/gentoolkit/eshowkw')
-rw-r--r-- | pym/gentoolkit/eshowkw/__init__.py | 2 | ||||
-rw-r--r-- | pym/gentoolkit/eshowkw/display_pretty.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py index 6bb4e54..39da052 100644 --- a/pym/gentoolkit/eshowkw/__init__.py +++ b/pym/gentoolkit/eshowkw/__init__.py @@ -38,7 +38,7 @@ def process_display(package, keywords, dbapi): header_length = portdata.version_length content_length = keywords.length else: - header = string_rotator().rotateContent(portdata.content, portdata.content_length, order, bold) + header = string_rotator().rotateContent(portdata.content, portdata.content_length, bold) content = keywords.content sep = [''.ljust(keywords.length) for x in range(portdata.slot_length-1)] content.extend(sep) diff --git a/pym/gentoolkit/eshowkw/display_pretty.py b/pym/gentoolkit/eshowkw/display_pretty.py index f3c52ff..2bd5426 100644 --- a/pym/gentoolkit/eshowkw/display_pretty.py +++ b/pym/gentoolkit/eshowkw/display_pretty.py @@ -21,7 +21,7 @@ def display(plain_list, rotated_list, plain_width, rotated_height, cp, toplist = if toplist == 'archlist': data_printout.extend(plain_list) output.extend(data_printout) - print print_content(output) + print(print_content(output)) def align_string(string, align, length): """Align string to the specified alignment (left or right, and after rotation it becames top and bottom)""" |