16 Jan
2019
16 Jan
'19
5:06 p.m.
On Wed, Jan 16, 2019, at 9:04 AM, Nick Wynja wrote:
If you are using mailman shell, the next 2 are not necessary
from mailman.interfaces.usermanager import IUserManager from zope.component import getUtility
IUserManager and getUtility are already in the namespace created when mailman shell starts.
Got it. Thanks, Mark. Is this the right place in the source to see what's imported when mailman shell starts? https://gitlab.com/mailman/mailman/blob/master/src/mailman/commands/cli_with...
https://gitlab.com/mailman/mailman/blob/master/src/mailman/commands/cli_with...
This is the right place to see the imports injected into the 'mailman shell' environment.
-- thanks, Abhilash Raj (maxking)