If deepcopy() raises a TypeError for a lazy item that has been added via a
authorZac Medico <zmedico@gentoo.org>
Tue, 24 Feb 2009 05:14:37 +0000 (05:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 24 Feb 2009 05:14:37 +0000 (05:14 -0000)
commit32007587637eaef9f1f9648c8f3fdedb2e7e616c
treed69cc4bd41fa317203bfbe04b89d4ae0cbdd4931
parent5ede2e2e08bee46023b2ac0ccb4c301ec5bda5dc
If deepcopy() raises a TypeError for a lazy item that has been added via a
call to LazyItemsDict.addLazySingleton(), automatically evaluate the
the singleton and instead call deepcopy() on the result.

svn path=/main/trunk/; revision=12704
pym/portage/util.py