Regression introduced by mail functionality changes from r15669
|Reported by:||ramiro||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
from email.generator import Generator
have to be:
from email.Generator import Generator
in order to work. Ie Generator with a capital G.
The problem seems to be that all modules have been renamed according to PEP 8 standards in version 4 of the mail package in Python, as stated here: http://docs.python.org/library/email.html#package-history although it says to be compatible with Python 2.3 to 2.5.