Commit 60e29589 by Chris Dodge

remove unused parameter

parent bbb53a17
......@@ -128,7 +128,7 @@ class UnitState(object):
public = 'public'
def compute_unit_state(unit, subsection=None):
def compute_unit_state(unit):
"""
Returns whether this unit is 'draft', 'public', or 'private'.
......
......@@ -13,7 +13,7 @@ This def will enumerate through a passed in subsection and list all of the units
% for unit in subsection_units:
<li class="leaf unit" data-id="${unit.location}">
<%
unit_state = compute_unit_state(unit, subsection=subsection)
unit_state = compute_unit_state(unit)
if unit.location == selected:
selected_class = 'editing'
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment