__swig_destroy__ = _xrc.delete_XmlResource
__del__ = lambda self : None;
- def GetFirstRoot(*args, **kwargs):
- """GetFirstRoot(self) -> XmlNode"""
- return _xrc.XmlResource_GetFirstRoot(*args, **kwargs)
-
def Load(*args, **kwargs):
"""Load(self, String filemask) -> bool"""
return _xrc.XmlResource_Load(*args, **kwargs)
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)