Changeset 344


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

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/changelog

    r337 r344  
     1email2trac (1.3.1-1) stable; urgency=low
     2
     3  * If reported field is overriden then use it also use the overriden value
     4    for notification, closes #187
     5   
     6    Reported by: shildebrand at venturebeat dot com
     7    Fixed by: Bas van der Vlies
     8   
     9 -- Bas van der Vlies <basv@sara.nl>  Tue, 30 Mar 2010 10:27:44 +0200
     10
    111email2trac (1.3.0-3) stable; urgency=low
    212
  • 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.