def writeobjs(self):
        try:
            f = open(os.path.join(self.sessiondir, "nodes"), "w")
            with self._objslock:
                for objid in sorted(self._objs.keys()):
                    o = self._objs[objid]
                    f.write("%s %s %s %s\n" % (objid, o.name, o.apitype, type(o)))
            f.close()
        except Exception, e:
            self.warn("Error writing nodes file: %s" % e)
Write objects to a 'nodes' file in the session dir.
dataset/ETHPy150Open coreemu/core/daemon/core/session.py/Session.writeobjs