diff options
author | dol-sen <brian.dolbec@gmail.com> | 2011-08-06 13:29:35 -0700 |
---|---|---|
committer | dol-sen <brian.dolbec@gmail.com> | 2011-08-06 13:29:35 -0700 |
commit | f4ccd5f6ac6449eee0a5144027ee7faa24a6e3d4 (patch) | |
tree | c7088d452af524d09224de3425dd7db33093b858 | |
parent | 341f69005710839bc984e414a823238c9329bd08 (diff) | |
download | layman-f4ccd5f6ac6449eee0a5144027ee7faa24a6e3d4.tar.gz layman-f4ccd5f6ac6449eee0a5144027ee7faa24a6e3d4.tar.bz2 layman-f4ccd5f6ac6449eee0a5144027ee7faa24a6e3d4.zip |
add a space before the * in the output func()'s as per "Etal"'s request in http://forums.gentoo.org/viewtopic-t-877029.html
-rw-r--r-- | 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 for i in info.split('\n'): - print(self.color_func('green', '* ') + i, file=self.std_out) + print(self.color_func('green', ' * ') + i, file=self.std_out) def status (self, message, status, info = 'ignored'): @@ -147,7 +147,7 @@ class Message(MessageBase): return for i in lines[0:-1]: - print(self.color_func('green', '* ') + i, file=self.std_out) + print(self.color_func('green', ' * ') + i, file=self.std_out) i = lines[-1] @@ -161,7 +161,7 @@ class Message(MessageBase): else: result = '[' + self.color_func('yellow', info) + ']' - print(self.color_func('green', '* ') + i + ' ' + \ + print(self.color_func('green', ' * ') + i + ' ' + \ '.' * (58 - len(i)) + ' ' + result, file=self.std_out) @@ -174,7 +174,7 @@ class Message(MessageBase): return for i in warn.split('\n'): - print(self.color_func('yellow', '* ') + i, file=self.std_out) + print(self.color_func('yellow', ' * ') + i, file=self.std_out) 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=self.std_out) + print(self.color_func('red', ' * ') + i, file=self.std_out) sys.stdout.flush() self.do_error_callback(error) |