aboutsummaryrefslogtreecommitdiff
path: root/potpourri
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-05-04 19:42:43 +0000
committerRob Austein <sra@hactrn.net>2016-05-04 19:42:43 +0000
commit2f2f9674d80960128245dea568a663fe287ae23f (patch)
tree2ecbc852f4564e6a89e0997f0ddaf7b6d109c2a7 /potpourri
parent6723497ede7ace74db33df9fcf76a72a670b7320 (diff)
Follow that turtle!
svn path=/branches/tk705/; revision=6418
Diffstat (limited to 'potpourri')
-rwxr-xr-xpotpourri/ca-unpickle.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/potpourri/ca-unpickle.py b/potpourri/ca-unpickle.py
index 7260f1a3..c15ed8bf 100755
--- a/potpourri/ca-unpickle.py
+++ b/potpourri/ca-unpickle.py
@@ -512,7 +512,7 @@ class Root(object):
rrdp_notification_uri = rrdp_notification_uri,
# Foreign keys
- #turtle =
+ #parent =
#issuer =
)
@@ -1045,13 +1045,6 @@ def irdb_handler(cfg, args, world, root, fixuri):
version = row.version,
child = child)
- # We'd like to consolidate Turtle into Parent now that Rootd is gone.
- # Well, guess what, due to the magic of multi-table inheritance,
- # we can write this code as if we had already performed that merge,
- # and the code should work either way.
- #
- # "Django is amazing when it's not terrifying."
-
turtle_map = dict((row.id, row) for row in world.db.irdbd.irdb_turtle)
show_model("irdb", "Parent")
@@ -1174,7 +1167,7 @@ def irdb_handler(cfg, args, world, root, fixuri):
service_uri = fixuri.pubd(row.service_uri),
sia_base = row.sia_base,
rrdp_notification_uri = rrdp_notification_uri,
- turtle = parent,
+ parent = parent,
issuer = issuer)
show_model("irdb", "Client")
@@ -1216,7 +1209,7 @@ def irdb_handler(cfg, args, world, root, fixuri):
child = child))
repository = rpki.irdb.models.Repository.objects.create(**dict(
root.irdb_Repository,
- turtle = parent,
+ parent = parent,
issuer = resourceholderca))
client = rpki.irdb.models.Client.objects.create(**dict(
root.irdb_Client,