Fix a typo in the team need permissions.

This commit is contained in:
yackob03 2013-11-04 16:39:52 -05:00
parent 0175bd91bf
commit f8d3c95b74

View file

@ -118,8 +118,8 @@ class OrganizationMemberPermission(Permission):
class ViewTeamPermission(Permission):
def __init__(self, org_name, team_name):
team_admin = _TeamNeed(org_name, team_name, 'admin')
team_creator = _TeamNeed(org_name, 'creator')
team_member = _TeamNeed(org_name, 'member')
team_creator = _TeamNeed(org_name, team_name, 'creator')
team_member = _TeamNeed(org_name, team_name, 'member')
super(ViewTeamPermission, self).__init__(team_admin, team_creator,
team_member)