From 357e9a2afaeea698cd91788b5273d2830b35e280 Mon Sep 17 00:00:00 2001 From: "gabriel.pettier" Date: Sun, 29 Jul 2012 22:17:02 +0200 Subject: [PATCH] stylefixes --- examples/animation/animate.py | 1 - kivy/logger.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/animation/animate.py b/examples/animation/animate.py index 4ae89ae12..0b642b036 100644 --- a/examples/animation/animate.py +++ b/examples/animation/animate.py @@ -34,4 +34,3 @@ class TestApp(App): if __name__ == '__main__': TestApp().run() - diff --git a/kivy/logger.py b/kivy/logger.py index 90ab9f8e2..b3a356851 100644 --- a/kivy/logger.py +++ b/kivy/logger.py @@ -288,7 +288,8 @@ if 'KIVY_NO_CONSOLELOG' not in os.environ: Logger.addHandler(getattr(sys, '_kivy_logging_handler')) else: use_color = os.name != 'nt' - color_fmt = formatter_message('[%(levelname)-18s] %(message)s', use_color) + color_fmt = formatter_message( + '[%(levelname)-18s] %(message)s', use_color) formatter = ColoredFormatter(color_fmt, use_color=use_color) console = ConsoleHandler() console.setFormatter(formatter) @@ -299,4 +300,3 @@ sys.stderr = LogFile('stderr', Logger.warning) #: Kivy history handler LoggerHistory = LoggerHistory -