don't traceback when securitylabel has no displaymarking element. Fixes #7006
This commit is contained in:
parent
11c6abda35
commit
83458833c3
|
@ -1417,7 +1417,11 @@ ConnectionJingle, ConnectionIBBytestream):
|
|||
labels = {}
|
||||
ll = []
|
||||
for item in items:
|
||||
label = item.getTag('displaymarking').getData()
|
||||
display_tag = item.getTag('displaymarking')
|
||||
if display_tag:
|
||||
label = display_tag.getData()
|
||||
else:
|
||||
label = ''
|
||||
labels[label] = item
|
||||
ll.append(label)
|
||||
if to not in self.seclabel_catalogues:
|
||||
|
|
Loading…
Reference in New Issue