Changeset 291


Ignore:
Timestamp:
01/04/10 15:56:19 (11 years ago)
Author:
bas
Message:

committed patch, so closes #163

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/changelog

    r290 r291  
    1414   Fixed by: Bas van der Vlies
    1515
     16 * Python egg cache enviroment setting was ignored by email2trac.
     17   closes #163
     18   Author: Dennis McRitchie ( dmcr at Princeton dot EDU )
     19   Applied by: Bas van der Vlies
     20   
    1621 -- Bas van der Vlies <bas@sara.nl>  Thu, 22 Oct 2009 17:47:50 +0200
    1722
  • trunk/email2trac.py.in

    r290 r291  
    249249                else:
    250250                        self.APPLEDOUBLE = 'warn'
    251 
    252                 if parameters.has_key('python_egg_cache'):
    253                         self.python_egg_cache = str(parameters['python_egg_cache'])
    254                         os.environ['PYTHON_EGG_CACHE'] = self.python_egg_cache
    255251
    256252                self.WORKFLOW = None
     
    16091605                                ENABLE_SYSLOG =  float(settings['enable_syslog'])
    16101606
     1607
     1608                # Must be set before environment is created
     1609                #
     1610                if settings.has_key('python_egg_cache'):
     1611                        python_egg_cache = str(settings['python_egg_cache'])
     1612                        os.environ['PYTHON_EGG_CACHE'] = python_egg_cache
     1613
    16111614                env = Environment(settings['project'], create=0)
    16121615                tktparser = TicketEmailParser(env, settings, float(version))
Note: See TracChangeset for help on using the changeset viewer.