Comment 8 for bug 1721948

Revision history for this message
Brian Murray (brian-murray) wrote :

apport falls back to python's webbrowser.py module, if xdg-open is not available, which also utilizes xdg-open.

 $ ipython3
import Python 3.6.3 (default, Oct 3 2017, 21:45:48)
Type "copyright", "credits" or "license" for more information.

IPython 5.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.

In [1]: import webbrowser

In [2]: webbrowser.open('http://www.ubuntu.com')
Out[2]: True

In [3]: This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.