From f4643f251458a795bf27f433a46c7ba97b591b8f Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sun, 26 Mar 2017 14:22:48 +0200 Subject: [PATCH] logging improvements --- dotdrop/logger.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotdrop/logger.py b/dotdrop/logger.py index 5e5ed3b..d242ab3 100644 --- a/dotdrop/logger.py +++ b/dotdrop/logger.py @@ -38,17 +38,17 @@ class Logger: def err(self, string, end='\n'): cs = self._color(self.RED) ce = self._color(self.RESET) - sys.stderr.write('%s[ERR]%s %s%s' % (cs, string, end, ce)) + sys.stderr.write('%s[ERR] %s %s%s' % (cs, string, end, ce)) def warn(self, string, end='\n'): cs = self._color(self.YELLOW) ce = self._color(self.RESET) - sys.stderr.write('%s[WARN]%s %s%s' % (cs, string, end, ce)) + sys.stderr.write('%s[WARN] %s %s%s' % (cs, string, end, ce)) def dry(self, string, end='\n'): cs = self._color(self.GREEN) ce = self._color(self.RESET) - sys.stdout.write('%s[DRY]%s %s%s' % (cs, string, end, ce)) + sys.stdout.write('%s[DRY] %s %s%s' % (cs, string, end, ce)) def raw(self, string, end='\n'): sys.stdout.write('%s%s' % (string, end))