From fbef0f9deb07516822f69ea7526841d4d0292821 Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Wed, 12 Aug 2020 17:32:41 +0200 Subject: [PATCH] Make mypy happy --- relational/optimizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relational/optimizer.py b/relational/optimizer.py index 05a23eb..b3b04ee 100644 --- a/relational/optimizer.py +++ b/relational/optimizer.py @@ -82,8 +82,8 @@ def optimize_all(expression: Union[str, Node], rels: Dict[str, Relation], specif debug.append(str(n)) total += c if general: - for i in optimizations.general_optimizations: - n, c = recursive_scan(i, n, None) + for j in optimizations.general_optimizations: + n, c = recursive_scan(j, n, None) if c != 0 and isinstance(debug, list): debug.append(str(n)) total += c