/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/bzr/smart/medium.py

  • Committer: Jelmer Vernooij
  • Date: 2019-08-11 13:33:45 UTC
  • mfrom: (7379 work)
  • mto: This revision was merged to the branch mainline in revision 7389.
  • Revision ID: jelmer@jelmer.uk-20190811133345-dp9j3c569vxj4l9y
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
696
696
        self.counts = weakref.WeakKeyDictionary()
697
697
        client._SmartClient.hooks.install_named_hook(
698
698
            'call', self.increment_call_count, 'hpss call counter')
699
 
        breezy.get_global_state().cleanups.add_cleanup(self.flush_all)
 
699
        breezy.get_global_state().exit_stack.callback(self.flush_all)
700
700
 
701
701
    def track(self, medium):
702
702
        """Start tracking calls made to a medium.