]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_xrc_ex.py
added missing button state
[wxWidgets.git] / wxPython / src / _xrc_ex.py
index fbd94db1d6d4ca821f76884c257f05f87bf183ba..53abd3d44c1f98cd91d36e78cf59531ff2c39e19 100644 (file)
@@ -10,7 +10,12 @@ TheXmlResource = XmlResource_Get()
 
 
 def _my_import(name):
-    mod = __import__(name)
+    try:
+        mod = __import__(name)
+    except ImportError:
+        import traceback
+        print traceback.format_exc()
+        raise
     components = name.split('.')
     for comp in components[1:]:
         mod = getattr(mod, comp)