mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-27 14:37:59 +01:00
minor readability improvement
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
640badf4c0
commit
94e8c144ae
1 changed files with 2 additions and 2 deletions
|
@ -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 []);
|
||||
|
|
Loading…
Reference in a new issue