Rev 5311: ObjectWithCleanup defines add_cleanup not addCleanup. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Mon Jun 21 10:29:03 BST 2010
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 5311 [merge]
revision-id: pqm at pqm.ubuntu.com-20100621092900-k5hq09vixq5peyqr
parent: pqm at pqm.ubuntu.com-20100621054505-7b6lnkos9fcy3d4r
parent: v.ladeuil+lp at free.fr-20100621080804-zv41uq2hc7hkzcii
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2010-06-21 10:29:00 +0100
message:
ObjectWithCleanup defines add_cleanup not addCleanup.
modified:
bzrlib/smart/medium.py medium.py-20061103051856-rgu2huy59fkz902q-1
=== modified file 'bzrlib/smart/medium.py'
--- a/bzrlib/smart/medium.py 2010-06-21 03:55:08 +0000
+++ b/bzrlib/smart/medium.py 2010-06-21 08:08:04 +0000
@@ -503,7 +503,7 @@
self.counts = weakref.WeakKeyDictionary()
client._SmartClient.hooks.install_named_hook(
'call', self.increment_call_count, 'hpss call counter')
- bzrlib.global_state.cleanups.addCleanup(self.flush_all)
+ bzrlib.global_state.cleanups.add_cleanup(self.flush_all)
def track(self, medium):
"""Start tracking calls made to a medium.
More information about the bazaar-commits
mailing list