qlog: click on commiter e-mail: traceback in console

Bug #148002 reported by Alexander Belchenko
2
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Low
Lukáš Lalinský

Bug Description

I use QBzr with standalone bzr.exe.
When I click in e-mail of committer in qlog window, then nothing happens and traceback printed in console:

Traceback (most recent call last):
  File "C:\work\Bazaar\plugins-repo\qbzr\log.py", line 256, in link_clicked
    import webbrowser
ImportError: No module named webbrowser

Revision history for this message
Lukáš Lalinský (luks) wrote :

I think it doesn't make sense to bundle the full webbrowser module with the installed, so I've just changed it to use os.startfile in case it's not available. The webbrowser module doesn't much more than that, anyway.

Changed in qbzr:
assignee: nobody → luks
importance: Undecided → Low
Revision history for this message
Alexander Belchenko (bialix) wrote :

Yeah, I think os.startfile('mailto:<email address hidden>') is enough. It works OK on windows.

Lukáš Lalinský (luks)
Changed in qbzr:
status: New → Fix Committed
Lukáš Lalinský (luks)
Changed in qbzr:
status: Fix Committed → 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.