Changeset 97:ba0ebd589e11 in livinglogic.python.tipimaid

Show
Ignore:
Timestamp:
10/21/09 14:03:32 (9 years ago)
Author:
Nikolas Tautenhahn <nik@…>
Branch:
default
Tags:
rel-0-2
Message:

Fixed wrong exit code in tipimaid_sender.py; added missing import

Wrong exit code in tipimaid_sender.py caused apache to exit; fixed it to exitcode 0 (reported by J?rgen Herrmann)
Added missing import of "errno" to tipimaid_sender.py

Bumped version number to 0.2

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • setup.py

    r96 r97  
    3434setup( 
    3535    name='tipimaid', 
    36     version='0.1', 
     36    version='0.2', 
    3737    author='Nikolas Tautenhahn', 
    3838    author_email='nik@livinglogic.de', 
  • tipimaid_mergelogs.py

    • Property exe set to *
  • tipimaid_sender.py

    r95 r97  
    2020 
    2121 
    22 import sys, socket, select, signal, datetime, os 
     22import sys, socket, select, signal, datetime, os, errno 
    2323 
    2424def intify(s, defaultint=0): 
     
    255255        self.flush_buffer() 
    256256        if signum in (signal.SIGQUIT, signal.SIGTERM, signal.SIGINT): 
    257             sys.exit(signum) 
     257            sys.exit(0) 
    258258 
    259259