Typo in variable name

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2015-11-11 16:35:49 +01:00
parent 5f1cccbd5c
commit 7b26423d90

View File

@ -478,7 +478,7 @@ def select_union_intersect_subtract(n):
Removing a O() operation like the union'''
changes = 0
if n.name in (UNION, INTERSECTION, DIFFERENCE) and n.left.name == SELECTION and n.right.name == SELECTION and n.left.child == n.right.child:
cahnges = 1
changes = 1
d = {UNION: 'or', INTERSECTION: 'and', DIFFERENCE: 'and not'}
op = d[n.name]