]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/xrc.py
AUI updates.
[wxWidgets.git] / wxPython / src / msw / xrc.py
index ea2d50be662cc729e45741f9521f9cf5835c05ea..5bbd09e39e681d140a1cfdd0b17dcbdf2169abaa 100644 (file)
@@ -708,7 +708,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)