commit: 6933a2cc528c124aeb8f1b6d59ac636b9819b167
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 28 08:44:06 2014 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue Dec 30 21:42:26 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=6933a2cc
gkeys/actions.py: Alignment tweak for key-search message
---
gkeys/gkeys/actions.py | 2 +-
gkeys/gkeys/base.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py
index 391d478..0dbdf24 100644
--- a/gkeys/gkeys/actions.py
+++ b/gkeys/gkeys/actions.py
@@ -907,7 +907,7 @@ class Actions(object):
return keys
msgs = []
for cat in list(keys):
- msgs.append("Category: %s" % cat)
+ msgs.append("Category.....: %s" % cat)
msgs.append(keys[cat])
del keys, cat, handler
return (True, msgs)
diff --git a/gkeys/gkeys/base.py b/gkeys/gkeys/base.py
index 2c0e114..2ec4375 100644
--- a/gkeys/gkeys/base.py
+++ b/gkeys/gkeys/base.py
@@ -300,7 +300,7 @@ class CliBase(object):
print(header)
for msg in results:
if type(msg) in [str, unicode]:
- print(' ', msg)
+ print(' ', msg)
else:
try:
print("\n".join([x.pretty_print for x in msg]))