Message152365
The problem is your level is off and the name is incomplete. master.pkgA.foo.py should have the following:
__import__('pkgB.bar', master.pkgA.__dict__, level=2).bar
or
__import__('pkgB.bar', master.pkgA.__dict__, fromlist=['-'], level=2) |
|
Date |
User |
Action |
Args |
2012-01-31 01:46:57 | eric.snow | set | recipients:
+ eric.snow, brett.cannon, jaraco |
2012-01-31 01:46:57 | eric.snow | set | messageid: <1327974417.05.0.00912499830975.issue13912@psf.upfronthosting.co.za> |
2012-01-31 01:46:53 | eric.snow | link | issue13912 messages |
2012-01-31 01:46:53 | eric.snow | create | |
|