From 984d49ebf0a1dc8f881fcbfeaf0f876b4a0c6547 Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Mon, 12 Nov 2012 15:55:12 +0100 Subject: [PATCH] [#3005] Remove some unnecessary default param values --- ckan/controllers/group.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ckan/controllers/group.py b/ckan/controllers/group.py index 170565da371..d6bffcc8be0 100644 --- a/ckan/controllers/group.py +++ b/ckan/controllers/group.py @@ -554,18 +554,18 @@ def unfollow(self, id): h.flash_error(error_message) h.redirect_to(controller='group', action='read', id=id) - def followers(self, id=None): + def followers(self, id): context = self._get_group_dict(id) c.followers = get_action('group_follower_list')(context, {'id': c.group_dict['id']}) return render('group/followers.html') - def admins(self, id=None): + def admins(self, id): context = self._get_group_dict(id) c.admins = self.authorizer.get_admins(context['group']) return render('group/admins.html') - def about(self, id=None): + def about(self, id): self._get_group_dict(id) return render('group/about.html')