diff --git a/display.py b/display.py index 978d6efdd326002cc9ccca1ba8911e10504ed5fc..b89f4a171c3f5e87f9dd4cf9d7b768b5f3af9bc4 100644 --- a/display.py +++ b/display.py @@ -57,7 +57,7 @@ if getattr(C, 'DEFAULT_LOG_PATH'): for handler in logging.root.handlers: handler.addFilter(FilterBlackList(getattr(C, 'DEFAULT_LOG_FILTER', []))) else: - print("[WARNING]: log file at %s is not writeable and we cannot create it, aborting\n" % path, file=sys.stderr) + print("[WARNING]: log file at '%s' is not writeable and we cannot create it, abort logging.\n" % path, file=sys.stderr) # map color to log levels @@ -198,7 +198,7 @@ class Display(with_metaclass(Singleton, object)): self.display("%6d %0.5f [%s]: %s" % (os.getpid(), time.time(), host, msg), color=C.COLOR_DEBUG) def verbose(self, msg, host=None, caplevel=2): - + """ """ to_stderr = C.VERBOSE_TO_STDERR if self.verbosity > caplevel: if host is None: @@ -333,4 +333,4 @@ class Display(with_metaclass(Singleton, object)): tty_size = unpack('HHHH', fcntl.ioctl(0, TIOCGWINSZ, pack('HHHH', 0, 0, 0, 0)))[1] else: tty_size = 0 - self.columns = max(79, tty_size - 1) \ No newline at end of file + self.columns = max(79, tty_size - 1)