Show
Ignore:
Timestamp:
03/01/04 15:34:15 (20 years ago)
Author:
jalet
Message:

PYKOTAPHASE wasn't set at the right time at the end of data transmission
to underlying layer (real backend)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r1372 r1374  
    2424# 
    2525# $Log$ 
     26# Revision 1.30  2004/03/01 14:34:15  jalet 
     27# PYKOTAPHASE wasn't set at the right time at the end of data transmission 
     28# to underlying layer (real backend) 
     29# 
    2630# Revision 1.29  2004/03/01 11:23:25  jalet 
    2731# Pre and Post hooks to external commands are available in the cupspykota 
     
    212216             
    213217            # exports some new environment variables 
     218            os.putenv("PYKOTAPHASE", "BEFORE") 
    214219            os.putenv("PYKOTAACTION", action) 
    215220             
     
    232237         
    233238        if policy == "OK" :         
     239            # indicate phase change 
     240            os.putenv("PYKOTAPHASE", "AFTER") 
     241             
    234242            # stops accounting.  
    235243            self.accounter.endJob(userpquota)