~nkarageuzian/mailman/usermanagement

« back to all changes in this revision

Viewing changes to src/mailman/app/subscriptions.py

  • Committer: Barry Warsaw
  • Date: 2013-08-28 02:14:44 UTC
  • mfrom: (7215.2.1 enum)
  • Revision ID: barry@list.org-20130828021444-wdvfq16ja011jqym
 * Use the ``enum34`` package instead of ``flufl.enum``.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    The members are sorted first by unique list id, then by subscribed email
55
55
    address, then by role.
56
56
    """
57
 
    return (member.list_id, member.address.email, int(member.role))
 
57
    return (member.list_id, member.address.email, member.role.value)
58
58
 
59
59
 
60
60