From 94e8c144ae6f6e6b8a00c45830b511d906e3fe3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Sat, 17 Aug 2013 16:13:06 +0200 Subject: [PATCH] minor readability improvement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/ponysay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ponysay.py b/src/ponysay.py index c1cf1cf0..3600f44d 100755 --- a/src/ponysay.py +++ b/src/ponysay.py @@ -501,8 +501,8 @@ class Ponysay(): ''' quote = (args.opts['-q'] is not None) or (args.opts['-Q'] is not None) extraquote = (args.opts['+q'] is not None) or (args.opts['-Q'] is not None) - standard = (args.opts['-f'] is not None) or (args.opts['-F'] is not None) or (args.opts['-q'] is not None) or (args.opts['-Q'] is not None) - extra = (args.opts['+f'] is not None) or (args.opts['-F'] is not None) or (args.opts['+q'] is not None) or (args.opts['-Q'] is not None) + standard = (args.opts['-f'] is not None) or (args.opts['-F'] is not None) or quote + extra = (args.opts['+f'] is not None) or (args.opts['-F'] is not None) or extraquote if not (standard or extra): standard = True ponydirs = (self.ponydirs if standard else []) + (self.extraponydirs if extra else []);