~dobey/tarmac/fix-633937

« back to all changes in this revision

Viewing changes to tarmac/plugins/bugresolver.py

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2010-08-27 21:20:55 UTC
  • mfrom: (344.1.1 multi-fixes-bugs)
  • Revision ID: paul@eventuallyanyway.com-20100827212055-9ex563fpkct1wh1p
Don't return after marking the first bug as fixed, in case there are multiples

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
                if task.target == target.lp_branch.project:
30
30
                    task.status = u'Fix Committed'
31
31
                    task.lp_save()
32
 
                    return
33
32
            
34
33
 
35
34
tarmac_hooks['tarmac_post_commit'].hook(BugResolver(), 'Bug resolver')