Coding style fix in views/models/role.py.
authorLennard de Rijk <ljvderijk@gmail.com>
Sat, 24 Jan 2009 17:09:02 +0000
changeset 964 63005fcf12df
parent 963 24c0a9da6360
child 965 f96cc3d6120f
Coding style fix in views/models/role.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/role.py
--- 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