Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/gkeys/
Date: Wed, 31 Dec 2014 21:34:40
Message-Id: 1419975746.6933a2cc528c124aeb8f1b6d59ac636b9819b167.dolsen@gentoo.org@gentoo
1 commit: 6933a2cc528c124aeb8f1b6d59ac636b9819b167
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 28 08:44:06 2014 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 30 21:42:26 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=6933a2cc
7
8 gkeys/actions.py: Alignment tweak for key-search message
9
10 ---
11 gkeys/gkeys/actions.py | 2 +-
12 gkeys/gkeys/base.py | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py
16 index 391d478..0dbdf24 100644
17 --- a/gkeys/gkeys/actions.py
18 +++ b/gkeys/gkeys/actions.py
19 @@ -907,7 +907,7 @@ class Actions(object):
20 return keys
21 msgs = []
22 for cat in list(keys):
23 - msgs.append("Category: %s" % cat)
24 + msgs.append("Category.....: %s" % cat)
25 msgs.append(keys[cat])
26 del keys, cat, handler
27 return (True, msgs)
28
29 diff --git a/gkeys/gkeys/base.py b/gkeys/gkeys/base.py
30 index 2c0e114..2ec4375 100644
31 --- a/gkeys/gkeys/base.py
32 +++ b/gkeys/gkeys/base.py
33 @@ -300,7 +300,7 @@ class CliBase(object):
34 print(header)
35 for msg in results:
36 if type(msg) in [str, unicode]:
37 - print(' ', msg)
38 + print(' ', msg)
39 else:
40 try:
41 print("\n".join([x.pretty_print for x in msg]))