/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 annotate/gannotate.py

  • Committer: Jelmer Vernooij
  • Date: 2007-07-15 15:22:29 UTC
  • Revision ID: jelmer@samba.org-20070715152229-clmlen0vpd8d2pzx
Add docstrings, remove unused code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        self.revision_id = getattr(tree, 'get_revision_id', 
67
67
                                   lambda: CURRENT_REVISION)()
68
68
        
69
 
        # [revision id, line number, author, revno, highlight color, line]
 
69
        # [revision id, line number, committer, revno, highlight color, line]
70
70
        self.annomodel = gtk.ListStore(gobject.TYPE_STRING,
71
71
                                       gobject.TYPE_STRING,
72
72
                                       gobject.TYPE_STRING,
84
84
                    revno = committer = ""
85
85
                else:
86
86
                    last_seen = revision.revision_id
87
 
                    committer = revision.properties.get('author',
88
 
                        revision.committer)
 
87
                    committer = revision.committer
89
88
 
90
89
                if revision.revision_id not in self.revisions:
91
90
                    self.revisions[revision.revision_id] = revision