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: