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

  • Committer: Jelmer Vernooij
  • Date: 2008-03-09 13:47:52 UTC
  • mto: This revision was merged to the branch mainline in revision 447.
  • Revision ID: jelmer@samba.org-20080309134752-syf9kwzy6e919jhj
Add note about python-nautilus requiring a libpythonXX.so symlink.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
import pango
13
13
import re
14
14
from xml.sax.saxutils import escape
15
 
from bzrlib.revision import NULL_REVISION
16
15
 
17
16
from time import (strftime, localtime)
18
17
 
101
100
 
102
101
        if column == TAGS: return self.tags.get(revid, [])
103
102
 
104
 
        if not revid or revid == NULL_REVISION:
 
103
        if revid is None:
105
104
            return None
106
105
        if revid not in self.revisions:
107
106
            revision = self.repository.get_revisions([revid])[0]