From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QpnVg-00083g-7z for garchives@archives.gentoo.org; Sat, 06 Aug 2011 20:30:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11FAB21C037; Sat, 6 Aug 2011 20:30:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DA61421C037 for ; Sat, 6 Aug 2011 20:30:08 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E3BE1B400B for ; Sat, 6 Aug 2011 20:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6F95080040 for ; Sat, 6 Aug 2011 20:30:07 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/output.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: f4ccd5f6ac6449eee0a5144027ee7faa24a6e3d4 Date: Sat, 6 Aug 2011 20:30:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e9f731018f02244c1c574e9075bdb3cf commit: f4ccd5f6ac6449eee0a5144027ee7faa24a6e3d4 Author: dol-sen gmail com> AuthorDate: Sat Aug 6 20:29:35 2011 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sat Aug 6 20:29:35 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D= commit;h=3Df4ccd5f6 add a space before the * in the output func()'s as per "Etal"'s request i= n http://forums.gentoo.org/viewtopic-t-877029.html=20 --- layman/output.py | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layman/output.py b/layman/output.py index 6751b59..3e82305 100644 --- a/layman/output.py +++ b/layman/output.py @@ -133,7 +133,7 @@ class Message(MessageBase): return =20 for i in info.split('\n'): - print(self.color_func('green', '* ') + i, file=3Dself.std_ou= t) + print(self.color_func('green', ' * ') + i, file=3Dself.std_o= ut) =20 =20 def status (self, message, status, info =3D 'ignored'): @@ -147,7 +147,7 @@ class Message(MessageBase): return =20 for i in lines[0:-1]: - print(self.color_func('green', '* ') + i, file=3Dself.std_ou= t) + print(self.color_func('green', ' * ') + i, file=3Dself.std_o= ut) =20 i =3D lines[-1] =20 @@ -161,7 +161,7 @@ class Message(MessageBase): else: result =3D '[' + self.color_func('yellow', info) + ']' =20 - print(self.color_func('green', '* ') + i + ' ' + \ + print(self.color_func('green', ' * ') + i + ' ' + \ '.' * (58 - len(i)) + ' ' + result, file=3Dself.std_out) =20 =20 @@ -174,7 +174,7 @@ class Message(MessageBase): return =20 for i in warn.split('\n'): - print(self.color_func('yellow', '* ') + i, file=3Dself.std_o= ut) + print(self.color_func('yellow', ' * ') + i, file=3Dself.std_= out) =20 =20 def error (self, error): @@ -188,7 +188,7 @@ class Message(MessageBase): # "layman -L |& less". sys.stdout.flush() self.error_out.flush() - print(self.color_func('red', '* ') + i, file=3Dself.std_out) + print(self.color_func('red', ' * ') + i, file=3Dself.std_out= ) sys.stdout.flush() self.do_error_callback(error) =20