bug? iter_entries() skips from_dir entry

Aaron Bentley aaron.bentley at utoronto.ca
Wed Apr 20 13:09:34 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
| 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.

I don't see a need to special-case it.  But of course, I can handle it
either way.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCZkZ+0F+nu1YWqI0RAjhvAJoCMBRoHQg3FezYSgpcOstLbzcPoQCfdVYP
aEqk36mZTE9xXrJyCErty08=
=6xtj
-----END PGP SIGNATURE-----




More information about the bazaar mailing list