From 5485d0c23686d5ce5f6009d05552bb639f6da66d Mon Sep 17 00:00:00 2001 From: Mushtaq Ali Date: Wed, 17 Feb 2016 15:54:54 +0500 Subject: [PATCH] make `is_course_self_paced` default to False --- cms/djangoapps/contentstore/views/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/views/item.py b/cms/djangoapps/contentstore/views/item.py index b5348df581..ada012c6ec 100644 --- a/cms/djangoapps/contentstore/views/item.py +++ b/cms/djangoapps/contentstore/views/item.py @@ -1021,7 +1021,7 @@ class VisibilityState(object): gated = 'gated' -def _compute_visibility_state(xblock, child_info, is_unit_with_changes, is_course_self_paced): +def _compute_visibility_state(xblock, child_info, is_unit_with_changes, is_course_self_paced=False): """ Returns the current publish state for the specified xblock and its children """