immutable/encode.py: tolerate immediate _remove_shareholder by copying the
authorBrian Warner <warner@lothar.com>
Fri, 22 May 2009 18:44:24 +0000 (11:44 -0700)
committerBrian Warner <warner@lothar.com>
Fri, 22 May 2009 18:44:24 +0000 (11:44 -0700)
commitde83526acd1ca78fd1022faffa1eba8792ec7d0c
treec6bca8e405958e6dad8b6a66bbf584cd96e6e5fc
parent1863aee0aae1cc0218c5f1b3cd4c08f5d4bcda19
immutable/encode.py: tolerate immediate _remove_shareholder by copying the
landlord list before iterating over it. This can probably only happen in unit
tests, but cleaning it up makes certain test failures easier to analyze.
src/allmydata/immutable/encode.py