Fixed typo in access module naming.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/helper/access.py Mon Apr 20 03:44:17 2009 +0000
+++ b/app/soc/views/helper/access.py Mon Apr 20 19:08:47 2009 +0000
@@ -983,7 +983,7 @@
@allowDeveloper
@denySidebar
- def checkisAfterEvent(self, django_args, event_name, key_name_arg):
+ def checkIsAfterEvent(self, django_args, event_name, key_name_arg):
"""Checks if the given event has taken place for the given program.
Args:
--- a/app/soc/views/models/program.py Mon Apr 20 03:44:17 2009 +0000
+++ b/app/soc/views/models/program.py Mon Apr 20 19:08:47 2009 +0000
@@ -93,7 +93,7 @@
rights['slots'] = ['checkIsHostForProgram']
rights['show_duplicates'] = ['checkIsHostForProgram']
rights['assigned_proposals'] = ['checkIsHostForProgram']
- rights['accepted_orgs'] = [('checkisAfterEvent',
+ rights['accepted_orgs'] = [('checkIsAfterEvent',
['accepted_organization_announced_deadline', '__all__'])]
new_params = {}