# HG changeset patch # User Andrey Skvortsov # Date 1527262679 -10800 # Node ID baa0c511145779d4e861bc3917f5f3988e1aea69 # Parent a66062a205ae747f8a9c92446cb8c10bcbc26586 fix type introduced by f33942053466 (fix pylint warning "(undefined-loop-variable) Using possibly undefined loop variable 'X'") diff -r a66062a205ae -r baa0c5111457 IDEFrame.py --- a/IDEFrame.py Fri May 25 18:34:05 2018 +0300 +++ b/IDEFrame.py Fri May 25 18:37:59 2018 +0300 @@ -323,7 +323,7 @@ split = (wx.RIGHT, 1.0 - float(tab["size"][0]) / float(rect.width)) split_rect = wx.Rect(rect.x, rect.y, rect.width - tab["size"][0] - TAB_BORDER, rect.height) - split_id = id + split_id = idx break if split is not None: split_tab = tabs.pop(split_id)