def _dump(self):  # pragma: no cover
        """
        Dump contents for debugging/testing.
        """

        print(70 * "-")
        print("ID lookup table:")
        for name in self.__id_lut:
            id_ = self.__id_lut[name]
            print("  %s -> %d" % (name, id_))

        print(70 * "-")
        print("%-4s %-60s %s" % ("ID", "Filename", "Refcount"))
        print(70 * "-")
        for id_ in self.__entries:
            entry = self.__entries[id_]
            print("%04d %-60s %d" % (id_, entry.filename, entry.refcount))
def _dump ( self ) : print ( 70 * "-" ) print ( "ID lookup table:" ) for name in self . __id_lut : id_ = self . __id_lut [ name ] print ( "  %s -> %d" % ( name , id_ ) ) print ( 70 * "-" ) print ( "%-4s %-60s %s" % ( "ID" , "Filename" , "Refcount" ) ) print ( 70 * "-" ) for id_ in self . __entries : entry = self . __entries [ id_ ] print ( "%04d %-60s %d" % ( id_ , entry . filename , entry . refcount ) )
Dump contents for debugging/testing.