Message271534
`import` merely adds the imported module to the current namespace which, in your code, is some local (non-global) namespace. It is successfully imported but never used, and quickly falls out of scope.
You also check for `testplugin in sys.modules`, but you want `'testplugin' in sys.modules`. Closing this as not a bug, please reopen if there's indeed a bug I didn't spot. |
|
Date |
User |
Action |
Args |
2016-07-28 12:07:24 | abarry | set | recipients:
+ abarry, Decorater |
2016-07-28 12:07:24 | abarry | set | messageid: <1469707644.19.0.483953884834.issue27642@psf.upfronthosting.co.za> |
2016-07-28 12:07:24 | abarry | link | issue27642 messages |
2016-07-28 12:07:24 | abarry | create | |
|