From dc2baa692e828c950b879d8cf45520c07e80624a Mon Sep 17 00:00:00 2001 From: John Martin Date: Thu, 6 Dec 2012 13:44:26 +0000 Subject: [PATCH] Doc block for new method --- ckan/lib/activity_streams.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ckan/lib/activity_streams.py b/ckan/lib/activity_streams.py index eb177aba02d..46a0fa8c1fe 100644 --- a/ckan/lib/activity_streams.py +++ b/ckan/lib/activity_streams.py @@ -188,7 +188,13 @@ def activity_stream_string_new_related_item(): activity_stream_actions_with_detail = ['changed package'] def activity_list_to_html(context, activity_stream, activity_params): - '''Return the given activity stream as a snippet of HTML.''' + '''Return the given activity stream as a snippet of HTML. + + :param activity_stream: Array of activity items + :param activity_params: Dictionary of params that the load more button needs for context + + :rtype html of activity list + ''' activity_list = [] # These are the activity stream messages. for activity in activity_stream: