diff --git a/src/calibre/utils/formatter.py b/src/calibre/utils/formatter.py index 07da6ee481..150ad79e57 100644 --- a/src/calibre/utils/formatter.py +++ b/src/calibre/utils/formatter.py @@ -926,7 +926,7 @@ class _Interpreter(object): 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 @@ class _Interpreter(object): 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),