/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: 2018-11-16 23:15:15 UTC
  • mfrom: (7180 work)
  • mto: This revision was merged to the branch mainline in revision 7183.
  • Revision ID: jelmer@jelmer.uk-20181116231515-zqd2yn6kj8lfydyp
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        # arguments are parsed.
76
76
        self.cmdline_overrides = config.CommandLineStore()
77
77
        # No config stores are cached to start with
78
 
        self.config_stores = {} # By url
 
78
        self.config_stores = {}  # By url
79
79
        self.started = False
80
80
 
81
81
    def __enter__(self):
82
82
        if not self.started:
83
83
            self._start()
84
 
        return self # This is bound to the 'as' clause in a with statement.
 
84
        return self  # This is bound to the 'as' clause in a with statement.
85
85
 
86
86
    def _start(self):
87
87
        """Do all initialization."""
119
119
        self._trace.__exit__(None, None, None)
120
120
        ui.ui_factory = self._orig_ui
121
121
        breezy._global_state = None
122
 
        return False # propogate exceptions.
 
122
        return False  # propogate exceptions.