##// END OF EJS Templates
demandimport: handle already-loaded nested modules in subload
Brendan Cully -
r3926:de6ae8f0 default
parent child Browse files
Show More
@@ -51,7 +51,7 b' class _demandmod(object):'
51 51 h, t = p.split('.', 1)
52 52 if not hasattr(mod, h):
53 53 setattr(mod, h, _demandmod(p, mod.__dict__, mod.__dict__))
54 else:
54 elif t:
55 55 subload(getattr(mod, h), t)
56 56
57 57 for x in after:
General Comments 0
You need to be logged in to leave comments. Login now