From: Roman Rolinsky <rolinsky@femagsoft.com>
Date: Mon, 5 Jun 2006 16:00:54 +0000 (+0000)
Subject: debug is not defined here
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e98e70622703a1d12e47ad74d1264c421597a667

debug is not defined here


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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