Fixed a blowup which could happen if an rfc doesn't have its standard level set.
- Legacy-Id: 11916
This commit is contained in:
parent
476ad780e3
commit
14607c977d
|
@ -330,7 +330,7 @@ class RelatedDocument(models.Model):
|
|||
return None
|
||||
|
||||
if self.source.get_state().slug == 'rfc':
|
||||
source_lvl = self.source.std_level.slug
|
||||
source_lvl = self.source.std_level.slug if self.source.std_level else None
|
||||
elif self.source.intended_std_level:
|
||||
source_lvl = self.source.intended_std_level.slug
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue