Commit 114a4627 authored by Andrew Selle's avatar Andrew Selle Committed by Rasmus Munk Larsen
Browse files

Improve upgrade script to handle list comprehensions as arguments. (#7229)

python's ast module does not return the correct location, so we
have to do our best to scan backwards to find where the [ token
that trully started the list comprehension occurs.
parent ee770d99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment