Changeset 176


Ignore:
Timestamp:
07/09/07 10:51:57 (14 years ago)
Author:
bas
Message:

email2trac.py.in, ChangeLog?:

  • removed obsolete code set_owner
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r175 r176  
    3232        * fixed and a creating directory problem email2trac.spec file
    3333          Fixed by: artrus at netzero dot net
     34
     35        * set_owner function is obsolete. When component is set the trac code
     36          will set the owner to the component owner.
     37          Fixed by: basv@sara.nl
    3438
    35392007-04-27
  • trunk/email2trac.py.in

    r173 r176  
    302302                Select default owner for ticket component
    303303                """
     304                #### return self.get_config('ticket', 'default_component')
    304305                cursor = self.db.cursor()
    305306                sql = "SELECT owner FROM component WHERE name='%s'" % ticket['component']
     
    308309                        ticket['owner'] = cursor.fetchone()[0]
    309310                except TypeError, detail:
    310                         ticket['owner'] = "UNKNOWN"
     311                        ticket['owner'] = None
    311312
    312313        def get_author_emailaddrs(self, message):
     
    553554                        return False   
    554555
    555                 # Set default owner for component
    556                 #
    557                 self.set_owner(tkt)
     556                # Set default owner for component, HvB
     557                # Is not necessary, because if component is set. The trac code
     558                # will find the owner: self.set_owner(tkt)
     559                #
    558560                self.set_reply_fields(tkt, msg)
    559561
Note: See TracChangeset for help on using the changeset viewer.