[Mailman-Developers] Bug in postorius, client not defined after shell invokation

Ankush Sharma ankush.sharma.ece12 at iitbhu.ac.in
Wed Mar 4 16:25:06 CET 2015


Hello everyone,

I started going through the postorius docs and found an issue while
following this
http://postorius.readthedocs.org/en/latest/development.html#accessing-the-mailman-api
 .

The *client *is not defined after the shell invokation by doing *python
manage.py mmclient*. The issue is because the *client *is not present in
the *globals() *dictionary when it was used to invoke the interpreter. I
have filed a bug regarding this issue:
https://bugs.launchpad.net/postorius/+bug/1428169 .
The issue can be solved by putting *client *in the scope i.e add *client *to
the *globals() *dictionary. I have discussed the bug with people on irc and
they also faced the same behavior. I have patched it and will send a pull
request shortly.

Any views regarding this will be helpful.

Thanks,

Ankush Sharma
github.com/black-perl


More information about the Mailman-Developers mailing list