diff options
Diffstat (limited to 'myrpki/myirbe.py')
-rw-r--r-- | myrpki/myirbe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myrpki/myirbe.py b/myrpki/myirbe.py index af70755a..6a7bc2d8 100644 --- a/myrpki/myirbe.py +++ b/myrpki/myirbe.py @@ -348,12 +348,12 @@ for xmlfile in xmlfiles: # entity; in all other cases, we use a separate subtree. This is # suboptimal in the long run. - parents = tree.getiterator(tag("parent")) + parents = [p for p in tree.getiterator(tag("parent"))] if parents: need_own_pub_point = True - if handle != my_handle and len(parents) == 1 and parents[0].get("service_uri").startwith(rpkid_base): + if handle != my_handle and len(parents) == 1 and parents[0].get("service_uri").startswith(rpkid_base): m = updown_regexp.match(parents[0].get("service_uri")) if m: self_part, child_part = m.groups() |