setup_ui=False breaks

Bug #1852647 reported by Jelmer Vernooij on 2019-11-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
High
Unassigned

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__'

Vincent Ladeuil (vila) on 2019-11-19
Changed in brz:
milestone: 3.0.2 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers