Update undo test
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Update undo test
manifest hash: b168c0b983b6aaeaf9cf4c74d65047eb4a5629f9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwSDBywK+sNU5EO8RAswoAKCb98RFAlTrEjsqGKhDX70m/CqriwCdGDOj
LFlbZE+HoloZxTjXPaLpVmI=
=dYu8
-----END PGP SIGNATURE-----
def demandload(scope, modules):
class d:
def __getattr__(self, name):
mod = self.__dict__["mod"]
scope = self.__dict__["scope"]
scope[mod] = __import__(mod, scope, scope, [])
return getattr(scope[mod], name)
for m in modules.split():
dl = d()
dl.mod = m
dl.scope = scope
scope[m] = dl