Update ce_bfd_global to fix bugs (#60412)
This commit is contained in:
parent
c27b5ae1a3
commit
4512f664a7
1 changed files with 2 additions and 1 deletions
|
@ -284,7 +284,8 @@ class BfdGlobal(object):
|
|||
glb = root.find("bfd/bfdSchGlobal")
|
||||
if glb:
|
||||
for attr in glb:
|
||||
bfd_dict["global"][attr.tag] = attr.text
|
||||
if attr.text is not None:
|
||||
bfd_dict["global"][attr.tag] = attr.text
|
||||
|
||||
return bfd_dict
|
||||
|
||||
|
|
Loading…
Reference in a new issue