/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

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.