X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29a41103aad2860742a6d71942c9b9e14fe4a79d..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/wx/tools/XRCed/tree.py diff --git a/wxPython/wx/tools/XRCed/tree.py b/wxPython/wx/tools/XRCed/tree.py index 5db6f8c7e9..3fb095bcec 100644 --- a/wxPython/wx/tools/XRCed/tree.py +++ b/wxPython/wx/tools/XRCed/tree.py @@ -864,7 +864,6 @@ class XML_Tree(wx.TreeCtrl): inf = sys.exc_info() wx.LogError(traceback.format_exception(inf[0], inf[1], None)[-1]) wx.LogError('Error writing temporary file') - if debug: raise memFile.close() # write to wxMemoryFS xmlFlags = xrc.XRC_NO_SUBCLASSING # Use translations if encoding is not specified