# HG changeset patch # User Sverre Rabbelier # Date 1233352801 0 # Node ID b03895bba47afdcc6331278302c22e95e88f9c39 # Parent 0e648c690bb7b2bb36549f8792968f88236efa9a Removed unused key_fields_prefix variable Patch by: Sverre Rabbelier diff -r 0e648c690bb7 -r b03895bba47a app/soc/views/helper/params.py --- a/app/soc/views/helper/params.py Fri Jan 30 21:59:38 2009 +0000 +++ b/app/soc/views/helper/params.py Fri Jan 30 22:00:01 2009 +0000 @@ -110,7 +110,6 @@ ] new_params['sidebar_additional'] = [] - new_params['key_fields_prefix'] = [] new_params['link_id_arg_pattern'] = linkable.LINK_ID_ARG_PATTERN new_params['link_id_pattern_core'] = linkable.LINK_ID_PATTERN_CORE new_params['scope_path_pattern'] = getScopePattern(params) @@ -264,14 +263,10 @@ def getKeyFieldsPattern(params): """Returns the Django pattern for this View's entity. - - Params usage: - key_fields_prefix: The key_fields_prefix value is used as the - first part of the returned pattern. """ names = params['logic'].getKeyFieldNames() - patterns = params['key_fields_prefix'] + patterns = [] for name in names: if name == 'scope_path':