~qbzr-dev/qbzr/show-merge-depth

« back to all changes in this revision

Viewing changes to lib/util.py

  • Committer: Gary van der Merwe
  • Date: 2009-08-19 12:41:14 UTC
  • mfrom: (677.1.243 trunk)
  • Revision ID: garyvdm@gmail.com-20090819124114-jz8zf4o4dlcl0a4r
Merge Trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
570
570
        bugs = []
571
571
        for bug in rev.properties.get('bugs', '').split('\n'):
572
572
            if bug:
573
 
                url, space, status = bug.partition(' ')
 
573
                url, status = bug.split(' ', 1)
574
574
                bugs.append('<a href="%(url)s">%(url)s</a> %(status)s' % (
575
575
                    dict(url=url, status=gettext(status))))
576
576
        if bugs: