gdiff command inaccessible if plugin named not as 'gtk'

Bug #67930 reported by Alexander Belchenko
2
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Fix Released
Undecided
Szilveszter Farkas

Bug Description

Current bzr-gtk version has hardwired assumption about name of plugin. When command 'gdiff' invoked it tries to import from module:

from bzrlib.plugins.gtk.viz.diffwin import DiffWindow

I.e. it require to have bzr-gtk plugin only with name 'gtk'. Another names make this import impossible and cause error.

But all other commands use relative imports and don't have this problem. Suggested fix to change import to relative form:

from viz.diffwin import DiffWindow

description: updated
Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 67930] gdiff command inaccessible if plugin named not as 'gtk'
Revision history for this message
Szilveszter Farkas (phanatic) wrote :

Merged into my integration branch. Thanks for the fix!

Changed in bzr-gtk:
assignee: nobody → phanatic
status: Unconfirmed → Fix Committed
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 67930] Re: gdiff command inaccessible if plugin named not as 'gtk'

Fixed in 0.12.0

  status fixreleased
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/

Changed in bzr-gtk:
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.