setup_ui=False breaks

Bug #1852647 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
High
Jelmer Vernooij

Bug Description

When specifying setup_ui=False to breezy.initialize(), you end up with ui set to None, which then leads to a method on None being called.

...
  File "/home/janitor/debian-janitor/janitor/trace.py", line 60, in <module>
    breezy.initialize(setup_ui=False)
  File "/home/janitor/debian-janitor/breezy/breezy/__init__.py", line 222, in initialize
    state._start()
  File "/home/janitor/debian-janitor/breezy/breezy/library_state.py", line 102, in _start
    self._ui.__enter__()
AttributeError: 'NoneType' object has no attribute '__enter__'

Related branches

Vincent Ladeuil (vila)
Changed in brz:
milestone: 3.0.2 → none
Jelmer Vernooij (jelmer)
Changed in brz:
assignee: nobody → Jelmer Vernooij (jelmer)
status: Triaged → In Progress
milestone: none → 3.1.0
Jelmer Vernooij (jelmer)
Changed in brz:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.