/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 viz/treemodel.py

  • Committer: Daniel Schierbeck
  • Date: 2007-10-02 22:55:24 UTC
  • mto: This revision was merged to the branch mainline in revision 294.
  • Revision ID: daniel.schierbeck@gmail.com-20071002225524-9tmh2nx276o4vdp2
Removed email address from committer column in the revision history window.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
import gtk
11
11
import gobject
12
12
import pango
 
13
import re
13
14
 
14
15
from bzrlib.osutils import format_date
15
16
 
82
83
        
83
84
        if column == REVISION: return revision
84
85
        if column == MESSAGE: return revision.message.split("\n")[0]
85
 
        if column == COMMITER: return revision.committer
 
86
        if column == COMMITER: return re.sub('<.*@.*>', '', 
 
87
                                             revision.committer).strip(' ')
86
88
        if column == TIMESTAMP: return format_date(revision.timestamp,
87
89
                                                   revision.timezone)
88
90