Fix formating

This commit is contained in:
Thomas 2019-05-14 08:57:01 +02:00
parent c57996e589
commit 409b207bf1
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ class TokenStreamRewriter(object):
rop.index = min(prevRop.index, rop.index)
rop.last_index = min(prevRop.last_index, rop.last_index)
print('New rop {}'.format(rop))
elif ( not(isDisjoint) ):
elif (not(isDisjoint)):
raise ValueError("replace op boundaries of {} overlap with previous {}".format(rop, prevRop))
# Walk inserts before

View File

@ -161,7 +161,7 @@ class TokenStreamRewriter(object):
rop.index = min(prevRop.index, rop.index)
rop.last_index = min(prevRop.last_index, rop.last_index)
print('New rop {}'.format(rop))
elif ( not(isDisjoint) ):
elif (not(isDisjoint)):
raise ValueError("replace op boundaries of {} overlap with previous {}".format(rop, prevRop))
# Walk inserts