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

  • Committer: Daniel Schierbeck
  • Date: 2008-04-01 23:16:46 UTC
  • mto: (461.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 462.
  • Revision ID: daniel.schierbeck@gmail.com-20080401231646-r1u88xurq6alc3zu
Simplified bug parsing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
            return
64
64
 
65
65
        self.clear()
66
 
        bugs_text = revision.properties.get('bugs', None)
67
 
        if bugs_text:
68
 
            for bugline in bugs_text.splitlines():
 
66
        bugs_text = revision.properties.get('bugs', '')
 
67
        for bugline in bugs_text.splitlines():
69
68
                (url, status) = bugline.split(" ")
70
69
                self.add_bug(url, status)
71
70