Code review comment for lp:~jml/testresources/tests-meaning-cleanup

Revision history for this message
Robert Collins (lifeless) wrote :

On Mon, 2008-09-08 at 01:54 +0000, Jonathan Lange wrote:
>
> The second NEWS item is that if you do:
> resource = resource_manager.getResource()
> resource_manager.dirty(resource)
> resource = resource_manager.getResource()
>
> Then the second invocation of getResource will trigger a clean. This
> is separate setting self._dirty on unused resources.

Uhm. Something must have changed under the hood - some calling pattern
is different.

Certainly either what I had was broken, or I'd expect similar things to
preserve state appropriately as well.

-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.

« Back to merge proposal