Merge branch 'bug_619_ask_for_scan_when_no_default_servicelists_are_avail'
[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