aboutsummaryrefslogtreecommitdiff
path: root/mlog.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-08-07 12:34:35 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-08-07 12:34:35 +0300
commita5863477f8fff72f1c5f782e5a7e9d07a46f3b4d (patch)
treec04bf2434f84b6adecded34987b84d3aefa8ee92 /mlog.py
parent3e29c4fccba670c582400086b0a17963e2cebd71 (diff)
downloadmeson-a5863477f8fff72f1c5f782e5a7e9d07a46f3b4d.zip
meson-a5863477f8fff72f1c5f782e5a7e9d07a46f3b4d.tar.gz
meson-a5863477f8fff72f1c5f782e5a7e9d07a46f3b4d.tar.bz2
Kill end of line whitespace dead.
Diffstat (limited to 'mlog.py')
-rw-r--r--mlog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlog.py b/mlog.py
index 5cac222..8af8f7c 100644
--- a/mlog.py
+++ b/mlog.py
@@ -29,11 +29,11 @@ def initialize(logdir):
class AnsiDecorator():
plain_code = "\033[0m"
-
+
def __init__(self, text, code):
self.text = text
self.code = code
-
+
def get_text(self, with_codes):
if with_codes:
return self.code + self.text + AnsiDecorator.plain_code