bug? iter_entries() skips from_dir entry

Martin Pool mbp at sourcefrog.net
Wed Apr 20 01:31:35 BST 2005


On Tue, 2005-04-19 at 14:12 -0400, Aaron Bentley wrote:

> Is it intentional that Inventory.__len__ !=
> len(list(Inventory.iter_entries())) ?

It's intentional, but it's not very clean and should be cleaned up, by
me deciding whether the root entry should be seen as a member of the
inventory or not.  The special case of it causes a small amount of
ugliness at the moment.

-- 
Martin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050420/e6746f75/attachment.pgp 


More information about the bazaar mailing list