Skip to content

Commit 14607c9

Browse files
committed
Fixed a blowup which could happen if an rfc doesn't have its standard level set.
- Legacy-Id: 11916
1 parent 476ad78 commit 14607c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def is_downref(self):
330330
return None
331331

332332
if self.source.get_state().slug == 'rfc':
333-
source_lvl = self.source.std_level.slug
333+
source_lvl = self.source.std_level.slug if self.source.std_level else None
334334
elif self.source.intended_std_level:
335335
source_lvl = self.source.intended_std_level.slug
336336
else:

0 commit comments

Comments
 (0)