Var rename

master
Salvo 'LtWorf' Tomaselli 2020-08-12 17:34:46 +07:00
parent fbef0f9deb
commit 731327c079
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF
1 changed files with 3 additions and 3 deletions

@ -471,12 +471,12 @@ def selection_and_product(n: parser.Node, rels: Dict[str, Relation]) -> Tuple[pa
groups: List[List[LevelString]] = []
temp: List[LevelString] = []
for i in tokens:
if i == 'and' and i.level == 0:
for k in tokens:
if k == 'and' and k.level == 0:
groups.append(temp)
temp = []
else:
temp.append(i)
temp.append(k)
if len(temp):
groups.append(temp)
del temp