Changeset 1541 for pykota/trunk/bin

Show
Ignore:
Timestamp:
06/16/04 22:56:34 (20 years ago)
Author:
jalet
Message:

Smarter initialisation code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r1530 r1541  
    2424# 
    2525# $Log$ 
     26# Revision 1.62  2004/06/16 20:56:34  jalet 
     27# Smarter initialisation code 
     28# 
    2629# Revision 1.61  2004/06/08 09:00:04  jalet 
    2730# Fixed problem when username was passed in uppercase from Samba and we 
     
    698701            pass 
    699702             
    700         kotabackend.closeJobDataStream()     
     703        try : 
     704            kotabackend.closeJobDataStream()     
     705        except NameError, msg :     
     706            sys.stderr.write("ERROR: PyKota's CUPS backend wrapper didn't initialize correctly : %s\n" % msg) 
     707            sys.stderr.flush() 
     708            retcode = 1 
    701709         
    702710    sys.exit(retcode)