# HG changeset patch # User Lennard de Rijk # Date 1236110596 0 # Node ID 297444daac6894335cfc30f64295533968ecd979 # Parent ec08b2b004396ac407c8b878e90991f97677e635 Two docstring fixes. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r ec08b2b00439 -r 297444daac68 app/soc/logic/models/base.py --- a/app/soc/logic/models/base.py Tue Mar 03 19:51:13 2009 +0000 +++ b/app/soc/logic/models/base.py Tue Mar 03 20:03:16 2009 +0000 @@ -440,7 +440,7 @@ specified) on an entity that is being created. Base classes should override if any special actions need to be - taken when a field is updated. + taken when a field is created. Args: name: the name of the field to be created diff -r ec08b2b00439 -r 297444daac68 app/soc/views/helper/lists.py --- a/app/soc/views/helper/lists.py Tue Mar 03 19:51:13 2009 +0000 +++ b/app/soc/views/helper/lists.py Tue Mar 03 20:03:16 2009 +0000 @@ -108,6 +108,7 @@ params: a dict with params for the View this list belongs to filter: a filter for this list idx: the index of this list + need_content: iff True will return None if there is no data Returns: A a dictionary with the following values set: