Minor cleanup in nodeinfo.py