/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: Szilveszter Farkas (Phanatic)
  • Date: 2008-03-03 17:24:22 UTC
  • mto: This revision was merged to the branch mainline in revision 435.
  • Revision ID: szilveszter.farkas@gmail.com-20080303172422-y1u0gg7kyirrxuun
Installing an olive package is pretty useless. (Fixed: #136432)

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]