[Bug 954252] [NEW] Simplify the version fetching
Public bug reported:
The version.py can be safely executed with execfile to extract the version number, instead of using regular expressions.
** Affects: mailman Importance: Undecided Status: New
** Tags: mailman3
** Branch linked: lp:~andrea-crotti-0/mailman/version
I found out today that execfile doesn't exist anymore in python3k, so maybe it's not the best solution..
But leaving everything as it is, why bothering so much about the possibility to not find the file?
If opening the file fails than the directory structure is wrong, and same thing for the VERSION regexp matching, since both things are under control is not maybe easier to just let it blow up if something is wrong (of course it's no harm, just a few lines more)?
** Changed in: mailman Status: New => Won't Fix