Changeset 529


Ignore:
Timestamp:
06/30/11 10:42:57 (13 years ago)
Author:
bas
Message:

fixed a bug in ticket update by subject for trac version less then 0.12, closes #248

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r528 r529  
    2222    the body/attachments files.
    2323    Author: Bas van der Vlies
     24
     25  * Ticket update by subject did not work for trac version below 0.12
     26    Reported by: naumann add tu-berlin dot de
     27    Fixed by: Bas van der Vlies
    2428
    25292.1.0 (2011-6-6)
  • trunk/debian/changelog

    r528 r529  
     1email2trac (2.1.3-1) stable; urgency=low
     2
     3  *  See Changelog
     4
     5 -- bas van der Vlies <basv@sara.nl>  Thu, 30 Jun 2011 10:41:30 +0200
     6
    17email2trac (2.1.2-1) stable; urgency=low
    28
  • trunk/email2trac.py.in

    r528 r529  
    10411041                #
    10421042                search_date = datetime.now(util.datefmt.utc) - timedelta(days=self.parameters.ticket_update_by_subject_lookback)
    1043                 lookback = util.datefmt.to_utimestamp(search_date)
     1043
     1044                if self.VERSION < 0.12:
     1045                    lookback = util.datefmt.to_timestamp(search_date)
     1046                else:
     1047                    lookback = util.datefmt.to_utimestamp(search_date)
    10441048
    10451049                for summary in summaries:
Note: See TracChangeset for help on using the changeset viewer.