File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,11 @@ def register(win):
30
30
def unregister (win ):
31
31
if win in windows :
32
32
windows .remove (win ) # Not in 0.9.1
33
- for i in range (len (windows )):
34
- if windows [i ] = win :
35
- del windows [i ]
36
- break
33
+ # 0.9.1 solution:
34
+ #for i in range(len(windows)):
35
+ # if windows[i] = win:
36
+ # del windows[i]
37
+ # break
37
38
38
39
39
40
# Interfaces used by WindowSched.
Original file line number Diff line number Diff line change @@ -30,10 +30,11 @@ def register(win):
30
30
def unregister (win ):
31
31
if win in windows :
32
32
windows .remove (win ) # Not in 0.9.1
33
- for i in range (len (windows )):
34
- if windows [i ] = win :
35
- del windows [i ]
36
- break
33
+ # 0.9.1 solution:
34
+ #for i in range(len(windows)):
35
+ # if windows[i] = win:
36
+ # del windows[i]
37
+ # break
37
38
38
39
39
40
# Interfaces used by WindowSched.
You can’t perform that action at this time.
0 commit comments