Coding style fix in views/models/role.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/role.py Sat Jan 24 17:07:26 2009 +0000
+++ b/app/soc/views/models/role.py Sat Jan 24 17:09:02 2009 +0000
@@ -378,7 +378,7 @@
# set right fields for the request form
user_entity = user_logic.logic.getForCurrentAccount()
fields = {'link_id' : user_entity.link_id,
- 'role' : '%(module_name)s' %(params),
+ 'role' : params['module_name'],
'group_id' : kwargs['scope_path']}
# get the request view parameters and initialize the create form