/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to revisionview.py

  • Committer: Daniel Schierbeck
  • Date: 2007-12-06 17:24:46 UTC
  • mto: This revision was merged to the branch mainline in revision 417.
  • Revision ID: daniel.schierbeck@gmail.com-20071206172446-r8dbwnfslya92l1o
Only import the bdecode function from the bzrlib.util.bencode package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import gobject
23
23
 
24
24
from bzrlib.osutils import format_date
25
 
from bzrlib.util import bencode
 
25
from bzrlib.util.bencode import bdecode
26
26
 
27
27
class RevisionView(gtk.Notebook):
28
28
    """ Custom widget for commit log details.
152
152
 
153
153
        file_info = revision.properties.get('file-info', None)
154
154
        if file_info is not None:
155
 
            file_info = bencode.bdecode(file_info.encode('UTF-8'))
 
155
            file_info = bdecode(file_info.encode('UTF-8'))
156
156
 
157
157
        if file_info:
158
158
            if self._file_id is None: