Make sure that the node is alway set in disco responses.

This commit is contained in:
Lance stout 2010-05-31 13:35:15 -04:00
parent 109af1b1b6
commit 332eea3b3b

View file

@ -138,6 +138,9 @@ class DiscoNode(object):
self.info = DiscoInfo()
self.items = DiscoItems()
self.info['node'] = name
self.items['node'] = name
# This is a bit like poor man's inheritance, but
# to simplify adding information to the node we
# map node functions to either the info or items