diff options
author | Rob Austein <sra@hactrn.net> | 2009-07-18 19:55:50 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-07-18 19:55:50 +0000 |
commit | 9a32259ebccc01b51d0ff1f8c979b33a9af9166d (patch) | |
tree | c2aad8608072a5fb0a6a0ca8a1d7dcde3e68b609 /myrpki/myirbe.py | |
parent | 50edd27823c5118b0ec30d080d4d194268819b88 (diff) |
Debug hosting code
svn path=/myrpki/myirbe.py; revision=2647
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() |