mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
b9a64085e9
commit
098885a465
@ -926,7 +926,7 @@ class _Interpreter(object):
|
|||||||
else:
|
else:
|
||||||
res = unicode_type(res)
|
res = unicode_type(res)
|
||||||
else:
|
else:
|
||||||
res = unicode_type(res) # Should be the string "None"
|
res = unicode_type(res) # Should be the string "None"
|
||||||
if (self.break_reporter):
|
if (self.break_reporter):
|
||||||
self.break_reporter(prog.node_name, res, prog.line_number)
|
self.break_reporter(prog.node_name, res, prog.line_number)
|
||||||
return res
|
return res
|
||||||
@ -991,7 +991,6 @@ class _Interpreter(object):
|
|||||||
self.break_reporter(prog.node_name, res, prog.line_number)
|
self.break_reporter(prog.node_name, res, prog.line_number)
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
||||||
LOGICAL_BINARY_OPS = {
|
LOGICAL_BINARY_OPS = {
|
||||||
'and': lambda self, x, y: self.expr(x) and self.expr(y),
|
'and': lambda self, x, y: self.expr(x) and self.expr(y),
|
||||||
'or': lambda self, x, y: self.expr(x) or self.expr(y),
|
'or': lambda self, x, y: self.expr(x) or self.expr(y),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user