Changeset 344 for trunk/email2trac.py.in


Ignore:
Timestamp:
03/30/10 10:32:50 (14 years ago)
Author:
bas
Message:

We must also use the overriden reporter value in the notification function, closes #187

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r343 r344  
    968968                if changed:
    969969                        if self.DRY_RUN:
    970                                 print 'DRY_RUN: tkt.save_changes(self.author, comment) ', self.author
     970                                print 'DRY_RUN: tkt.save_changes(%s, comment) real reporter = %s' %( tkt['reporter'], self.author)
    971971                        else:
    972                                 tkt.save_changes(self.author, comment)
     972                                tkt.save_changes(tkt['reporter'], comment)
    973973                                #print tkt.get_changelog(self.db, when)
    974974
     
    15891589                """
    15901590                if self.DRY_RUN:
    1591                                 print 'DRY_RUN: self.notify(tkt, True) ', self.author
     1591                                print 'DRY_RUN: self.notify(tkt, True) reporter = %s' %tkt['reporter']
    15921592                                return
    15931593                try:
Note: See TracChangeset for help on using the changeset viewer.