/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/graph.py

  • Committer: Aaron Bentley
  • Date: 2007-01-17 06:42:55 UTC
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: aaron.bentley@utoronto.ca-20070117064255-x4gznz5e0lyjq3gk
Remove usused span selector

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
__author__    = "Scott James Remnant <scott@ubuntu.com>"
11
11
 
12
12
 
13
 
from bzrlib.revision import Revision
14
13
from bzrlib.tsort import merge_sort
15
14
 
16
15
 
17
 
class DummyRevision(Revision):
 
16
class DummyRevision(object):
18
17
    """Dummy bzr revision.
19
18
 
20
19
    Sometimes, especially in older bzr branches, a revision is referenced
22
21
    When this happens we use an instance of this class instead of the real
23
22
    Revision object (which we can't get).
24
23
    """
 
24
 
25
25
    def __init__(self, revid):
26
 
        super(DummyRevision, self).__init__(revid)
 
26
        self.revision_id = revid
 
27
        self.parent_ids = []
27
28
        self.committer = None
28
 
        self.message = revid
 
29
        self.message = self.revision_id
29
30
 
30
31
 
31
32
class RevisionProxy(object):