Merge remote-tracking branch 'remotes/origin/bug_739_fix_CT_tuner_timer_bug'
[enigma2.git] / lib / python / Tools / Import.py
1 def my_import(name):
2         mod = __import__(name)
3         components = name.split('.')
4         for comp in components[1:]:
5                 mod = getattr(mod, comp)
6         return mod