Changeset 2868 for TI05-delivery


Ignore:
Timestamp:
03/09/07 12:44:02 (12 years ago)
Author:
spepler
Message:

Fixed bug so it works with python 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/mailer.py

    r2725 r2868  
    77except: 
    88    #python 2.4 
    9     from email import MIMEText 
    10     from email import MIMEMultipart 
    11     from email import MIMEBase 
     9    from email.MIMEText import MIMEText 
     10    from email.MIMEMultipart import MIMEMultipart 
     11    from email.MIMEBase import MIMEBase 
    1212 
    1313debug=0 
     
    5858     
    5959    server='outbox.rl.ac.uk' 
    60     recipients=['b.n.lawrence@rl.ac.uk',] 
     60    recipients=['s.j.pepler@rl.ac.uk',] 
    6161     
    6262    import unittest 
     
    6464    class TestCase(unittest.TestCase): 
    6565         
    66         def AtestNormal(self): 
     66        def testNormal(self): 
    6767            ''' test sending a normal email message ''' 
    6868            body='test body' 
Note: See TracChangeset for help on using the changeset viewer.