From: Frank Brehm Date: Tue, 20 Mar 2018 14:00:41 +0000 (+0100) Subject: Fixing pp_lib/app.py X-Git-Tag: 0.1.2~6^2~20^2~2 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=ad7ae9739ce4a393388c79bf5b44d8693aa295fe;p=pixelpark%2Fadmin-tools.git Fixing pp_lib/app.py --- diff --git a/pp_lib/app.py b/pp_lib/app.py index f3f9400..886a27d 100644 --- a/pp_lib/app.py +++ b/pp_lib/app.py @@ -28,7 +28,7 @@ from .colored import ColoredFormatter, colorstr from .obj import PpBaseObject -__version__ = '0.3.5' +__version__ = '0.3.6' LOG = logging.getLogger(__name__) @@ -313,7 +313,7 @@ class PpApplication(PpBaseObject): LOG.error(traceback.format_exc()) else: LOG.info(traceback.format_exc()) - if self.use_stderr or not has_handlers: + else: traceback.print_exc() sys.exit(retval)