From 9a32259ebccc01b51d0ff1f8c979b33a9af9166d Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 18 Jul 2009 19:55:50 +0000 Subject: Debug hosting code svn path=/myrpki/myirbe.py; revision=2647 --- myrpki/myirbe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'myrpki/myirbe.py') 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() -- cgit v1.2.3