mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
cd56a25bb9
commit
78d6bbe25e
@ -221,8 +221,7 @@ class Parser(object):
|
|||||||
return ['and', lhs, self.and_expression()]
|
return ['and', lhs, self.and_expression()]
|
||||||
|
|
||||||
# Account for the optional 'and'
|
# Account for the optional 'and'
|
||||||
if ((self.token_type() in [self.WORD, self.QUOTED_WORD] or self.token() == '(')
|
if ((self.token_type() in [self.WORD, self.QUOTED_WORD] or self.token() == '(') and self.lcase_token() != 'or'):
|
||||||
and self.lcase_token() != 'or'):
|
|
||||||
return ['and', lhs, self.and_expression()]
|
return ['and', lhs, self.and_expression()]
|
||||||
return lhs
|
return lhs
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user