~deryck/+junk/lpjunk

« back to all changes in this revision

Viewing changes to notify_expiry.py

  • Committer: Deryck Hodge
  • Date: 2010-10-04 18:44:18 UTC
  • Revision ID: deryck@devurandom.org-20101004184418-gk0j5ty4ct13hymu
Make sure we don't send email to bug supervisors where
the project owner is registry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
            Not(Product.bug_supervisor == None),
118
118
            Product.bug_supervisor == Person.id,
119
119
            Product.bug_supervisor != REGISTRY_ADMINS,
 
120
            Product._owner != REGISTRY_ADMINS,
120
121
            EmailAddress.person == Person.id,
121
122
            EmailAddress.status == EmailAddressStatus.PREFERRED,
122
123
        ))