mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 01:33:30 +02:00
pep8
This commit is contained in:
parent
b9a64085e9
commit
098885a465
1 changed files with 1 additions and 2 deletions
|
|
@ -926,7 +926,7 @@ def do_node_raw_field(self, prog):
|
|||
else:
|
||||
res = unicode_type(res)
|
||||
else:
|
||||
res = unicode_type(res) # Should be the string "None"
|
||||
res = unicode_type(res) # Should be the string "None"
|
||||
if (self.break_reporter):
|
||||
self.break_reporter(prog.node_name, res, prog.line_number)
|
||||
return res
|
||||
|
|
@ -991,7 +991,6 @@ def do_node_contains(self, prog):
|
|||
self.break_reporter(prog.node_name, res, prog.line_number)
|
||||
return res
|
||||
|
||||
|
||||
LOGICAL_BINARY_OPS = {
|
||||
'and': lambda self, x, y: self.expr(x) and self.expr(y),
|
||||
'or': lambda self, x, y: self.expr(x) or self.expr(y),
|
||||
|
|
|
|||
Loading…
Reference in a new issue