Advertisement
Guest User

Untitled

a guest
Apr 19th, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1.  
  2. oem_list = None
  3. if options.customer_filter:
  4. # cache this list so we're not fetching something huge
  5. # everytime in the loop
  6. oem = lp.people['canonical']
  7. oem_list = list(oem.members_details)
  8. ...
  9.  
  10. if options.customer_filter is False:
  11. tags = update_tags(tags, options.update_from, options.update_to)
  12. bug_updated = True
  13. else:
  14. # Everyone outside of this set should be an OEM customer
  15. assignee = task.assignee_link
  16. print "id %s assigned to %s" % (bug.id, assignee)
  17. if assignee is None or assignee not in oem_list:
  18. tags = update_tags(tags, options.update_from, options.update_to)
  19. bug_updated = True
  20. else:
  21. bug_updated = False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement