Changeset 1421

Show
Ignore:
Timestamp:
03/28/04 23:01:29 (20 years ago)
Author:
jalet
Message:

PYKOTALIMITBY environment variable is now exported too

Location:
pykota/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r1401 r1421  
    466466# PYKOTABALANCE : user's account balance 
    467467# PYKOTALIFETIMEPAID : user's grand total paid  
     468# PYKOTALIMITBY : user print limiting factor, for example 'quota' or 'balance' 
    468469# PYKOTAPAGECOUNTER : user's page counter on this printer 
    469470# PYKOTALIFEPAGECOUNTER : user's life time page counter on this printer 
  • pykota/trunk/NEWS

    r1417 r1421  
    2424    - 1.19alpha1 :  
    2525     
     26        - PYKOTALIMITBY environment variable is now exported too. 
     27         
    2628        - Inclusion of Michele Baldessari's work on autotools. 
    2729         
  • pykota/trunk/pykota/tool.py

    r1394 r1421  
    2222# 
    2323# $Log$ 
     24# Revision 1.79  2004/03/28 21:01:29  jalet 
     25# PYKOTALIMITBY environment variable is now exported too 
     26# 
    2427# Revision 1.78  2004/03/08 20:13:25  jalet 
    2528# Allow names to begin with a digit 
     
    747750    def exportUserInfo(self, userpquota) : 
    748751        """Exports user information to the environment.""" 
     752        os.putenv("PYKOTALIMITBY", userpquota.User.LimitBy) 
    749753        os.putenv("PYKOTABALANCE", str(userpquota.User.AccountBalance or 0.0)) 
    750754        os.putenv("PYKOTALIFETIMEPAID", str(userpquota.User.LifeTimePaid or 0.0))