/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/library_state.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    ]
24
24
 
25
25
 
 
26
import contextlib
 
27
 
 
28
 
26
29
import breezy
27
30
from .lazy_import import lazy_import
28
31
lazy_import(globals(), """
29
32
from breezy import (
30
 
    cleanup,
31
33
    config,
32
34
    osutils,
33
35
    symbol_versioning,
89
91
        # isolation within the same interpreter.  It's not reached on normal
90
92
        # in-process run_bzr calls.  If it's broken, we expect that
91
93
        # TestRunBzrSubprocess may fail.
92
 
        self.exit_stack = cleanup.ExitStack()
 
94
        self.exit_stack = contextlib.ExitStack()
93
95
 
94
96
        if breezy.version_info[3] == 'final':
95
97
            self.exit_stack.callback(