Changeset 541


Ignore:
Timestamp:
08/09/11 11:48:51 (9 years ago)
Author:
bas
Message:

preparing email2trac for trac release 0.13, see #250

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r540 r541  
    24282428    if version.startswith('0.12'):
    24292429        version = '0.12'
     2430    elif version.startswith('0.13'):
     2431        version = '0.13'
    24302432
    24312433    logger.debug("Found trac version: %s" %(version))
     
    24882490            from trac.ticket.notification import TicketNotifyEmail
    24892491
     2492        elif version == '0.13':
     2493            from trac import attachment
     2494            from trac.env import Environment
     2495            from trac.ticket import Ticket
     2496            from trac.web.href import Href
     2497            from trac import config as trac_config
     2498            from trac import util
     2499            from trac.core import TracError
     2500            from trac.perm import PermissionSystem
     2501            from trac.perm import PermissionCache
     2502            from trac.ticket.web_ui import TicketModule
     2503            from trac.ticket.api import TicketSystem
     2504            from trac.test import Mock, MockPerm
     2505
     2506            #
     2507            # return  util.text.to_unicode(str)
     2508            #
     2509            # see http://projects.edgewall.com/trac/changeset/2799
     2510            from trac.ticket.notification import TicketNotifyEmail
     2511
    24902512
    24912513        else:
Note: See TracChangeset for help on using the changeset viewer.