Show
Ignore:
Timestamp:
09/04/03 09:57:18 (21 years ago)
Author:
jalet
Message:

Problem with Python 2.3 fixed : a bug of me.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounters/external.py

    r1068 r1123  
    2121# 
    2222# $Log$ 
     23# Revision 1.6  2003/09/04 07:57:18  jalet 
     24# Problem with Python 2.3 fixed : a bug of me. 
     25# 
    2326# Revision 1.5  2003/07/07 11:49:24  jalet 
    2427# Lots of small fixes with the help of PyChecker 
     
    9194             
    9295        # launches external accounter 
    93         try : 
    94             infilename = tempfile.mkstemp()     # Python 2.3 
    95         except AttributeError :     
    96             infilename = tempfile.mktemp() 
    97         try : 
    98             outfilename = tempfile.mkstemp()    # Python 2.3 
    99         except AttributeError :     
    100             outfilename = tempfile.mktemp() 
    101         try : 
    102             errfilename = tempfile.mkstemp()    # Python 2.3 
    103         except AttributeError :     
    104             errfilename = tempfile.mktemp() 
     96        # TODO : USE tempfile.mkstemp() instead ! Needs some work ! 
     97        infilename = tempfile.mktemp() 
     98        outfilename = tempfile.mktemp() 
     99        errfilename = tempfile.mktemp() 
    105100         
    106101        try :