Changeset 53

Show
Ignore:
Timestamp:
11/05/07 12:38:45 (1 year ago)
Author:
amcgregor
Message:

Applied latest patch from ticket #11 to correct mail sink problem.

Location:
branches/2.0.5
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/2.0.5/tests/lib/smtp_mailsink.py

    r47 r53  
    4545 
    4646import asyncore 
     47import select 
     48import errno 
    4749import copy 
    4850import smtpd 
     
    116118                "Just run in a loop until stop() is called." 
    117119                while not self.stop_event.isSet(): 
    118                         asyncore.loop(timeout=0.1) 
     120                        try: 
     121                                asyncore.loop(timeout=0.1) 
     122                        except select.error, e: 
     123                                if e.args[0] != errno.EBADF: 
     124                                        raise 
    119125 
    120126        def stop(self, timeout_seconds=5.0): 
  • branches/2.0.5/turbomail/release.py

    r13 r53  
    33"""Release information about the Turbo-Mail mail queue.""" 
    44 
    5 version = "2.0.4" 
     5version = "2.0.5" 
    66description = "Multi-threaded mail queue manager for TurboGears applications." 
    77long_description = "TurboMail is a TurboGears extension, meaning that it starts up and shuts down alongside any TurboGears applications you write, in the same way that visit tracking and identity do. TurboMail uses built-in Python modules for SMTP communication and MIME e-mail creation, but greatly simplifies these tasks by performing the grunt-work for you. Additionally, TurboMail is multi-threaded, allowing for single or batch enqueueing and background delivery of mail." 
    8 author = "Top Floor Computer Systems Ltd." 
    9 email = "webmaster@topfloor.ca" 
    10 url = "http://trac.orianagroup.com/turbomail/" 
     8author = "" 
     9email = "alice+turbomail@gothcandy.com" 
     10url = "http://www.python-turbomail.org/" 
    1111download_url = "http://cheeseshop.python.org/pypi/TurboMail/" 
    12 copyright = "© 2006-2007 Top Floor Computer Systems Ltd." 
     12copyright = "© 2006-2007 Top Floor Computer Systems Ltd., 2007 Alice Bevan-McGregor, and contributors" 
    1313license="MIT"