Another and possibly more succinct way to write your patch follows: and (which == 'both' or which == 'changelogs'):
vs and which in ['both', 'changelogs']: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/839378 Title: Regression: apt-listchanges always sends changelogs To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/839378/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
