aboutsummaryrefslogtreecommitdiff
path: root/rpkid/testbed.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-06-09 15:50:48 +0000
committerRob Austein <sra@hactrn.net>2009-06-09 15:50:48 +0000
commit24f133ff269e0a240c081d6c93028a17a555e5c4 (patch)
tree4b1d257f869bbb284ba4203756ca0fd2fe0dabbd /rpkid/testbed.py
parentd689e9ce44ab7d7a07c4195fe6fc28289f7c5654 (diff)
Cheap hack to get testbed.py to stop using testpoke.py, now that rpkid
supports hosting and we don't have to run a separate rpkid for each entity in the system. testbed.py "yaml client" (testpoke) code should be ripped out entirely at some point and the surrounding code rewritten, but it's not urgent. svn path=/rpkid/testbed.2.yaml; revision=2509
Diffstat (limited to 'rpkid/testbed.py')
-rw-r--r--rpkid/testbed.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpkid/testbed.py b/rpkid/testbed.py
index 01cd8601..1c942423 100644
--- a/rpkid/testbed.py
+++ b/rpkid/testbed.py
@@ -590,7 +590,8 @@ class allocation(object):
return s + "Until: %s\n" % self.resources.valid_until
def is_leaf(self):
- return not self.kids and not self.route_origins
+ #return not self.kids and not self.route_origins
+ return False
def is_root(self):
return self.parent is None