Skip to content

Commit 398b8d8

Browse files
committed
Update repair.py
1 parent c2eecde commit 398b8d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/repair.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def work(self):
269269
b = BracketMatcher(self.atok)
270270
k = 0
271271
for t in self.atok.tokens:
272-
if t.string in ["if","for","while","with","def","elif"]:
272+
if t.string in ["if","for","while","with","def","elif","else"]:
273273
if t.string == "elif":
274274
k = k + 1
275275
z = handle_empty_compound(self.atok,t,l,b ,self.d)

0 commit comments

Comments
 (0)