Changeset 369 for trunk/email2trac.py.in


Ignore:
Timestamp:
06/08/10 11:21:14 (11 years ago)
Author:
bas
Message:

email2trac.py.in:

  • some fixes to support 0.12 version, see #201
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r368 r369  
    19241924                        # create false {abs_}href properties, to trick Notify()
    19251925                        #
    1926                         if not self.VERSION == 0.11:
     1926                        if not (self.VERSION in [0.11, 0.12]):
    19271927                                self.env.abs_href = Href(self.get_config('project', 'url'))
    19281928                                self.env.href = Href(self.get_config('project', 'url'))
     
    20542054        # Quick hack for 0.12
    20552055        #
    2056         if version in [ '0.12dev']:
     2056        if version.startswith('0.12'):
    20572057                version = '0.12'
     2058                if verbose:
     2059                        print "Found trac version: %s" %(version)
    20582060
    20592061        try:
Note: See TracChangeset for help on using the changeset viewer.