Public bug reported: The postinst script parses mailman3-web.py with sed, and relies on the "ADMIN" value looking like this:
ADMINS = ( ('Mailman Suite Admin', 'r...@lists.admin.staging.canonical.com'), ) i.e. a) "Mailman Suite Admin" must be present and b) the closing paren must be left-aligned. The mailman3-web charm writes the file in the following perfectly valid Python: ADMINS = ( ('Mailman Web Admin', 'r...@lists.staging.canonical.com'), ) but which violates a) (wrong text) and b) (closing paren is indented). We can fix this particular point in the charm but ideally the package would be able to cope with any valid Python syntax. ** Affects: mailman-suite (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1802036 Title: postinst's parsing of mailman3-web.py is brittle To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailman-suite/+bug/1802036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs