From 098885a4657884ac3eb3eab2a4666fd96b93b0f3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 30 Mar 2021 18:22:53 +0530 Subject: [PATCH] pep8 --- src/calibre/utils/formatter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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),