Show
Ignore:
Timestamp:
07/07/03 13:49:24 (21 years ago)
Author:
jalet
Message:

Lots of small fixes with the help of PyChecker?

Files:
1 modified

Legend:

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

    r1041 r1068  
    2121# 
    2222# $Log$ 
     23# Revision 1.5  2003/07/07 11:49:24  jalet 
     24# Lots of small fixes with the help of PyChecker 
     25# 
    2326# Revision 1.4  2003/06/25 14:10:01  jalet 
    2427# Hey, it may work (edpykota --reset excepted) ! 
     
    8891             
    8992        # launches external accounter 
    90         infilename = tempfile.mktemp() 
    91         outfilename = tempfile.mktemp() 
    92         errfilename = tempfile.mktemp() 
     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() 
    93105         
    94106        try :