Skip to content

Commit 6a36609

Browse files
committed
Don't forget to assign the variable!
- Legacy-Id: 812
1 parent be51a99 commit 6a36609

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/ipr/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def list_all(request, template):
4747
def show(request, ipr_id=None):
4848
"""Show a specific IPR disclosure"""
4949
assert ipr_id != None
50-
get_object_or_404(IprDetail, ipr_id=ipr_id)
50+
ipr = get_object_or_404(IprDetail, ipr_id=ipr_id)
5151
if not ipr.status == 1:
5252
raise Http404
5353
section_list = get_section_list(ipr)

0 commit comments

Comments
 (0)