Bill,

> If you look at the source of the class Mapper, in the file
> PyPlucker/Writer.py, you will see the code which does the actual
> record-id assignment.

Yes.  I am looking at the fragment:

        for (url, doc) in collection.items():
            self._get_id_for_doc(doc)

_get_id_for_doc assigns record numbers sequentially as it is called.  What I
guess I don't understand is how collection.items() gets to have the order it
does.  I don't think the items in it are in the order in which they were
added to the collection.

Alex

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to