Show
Ignore:
Timestamp:
09/28/04 19:45:31 (20 years ago)
Author:
jalet
Message:

Added the --hardreset command line option to edpykota

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r1743 r1755  
    2222# 
    2323# $Log$ 
     24# Revision 1.62  2004/09/28 17:45:31  jalet 
     25# Added the --hardreset command line option to edpykota 
     26# 
    2427# Revision 1.61  2004/09/24 21:19:48  jalet 
    2528# Did a pass of PyChecker 
     
    430433        self.parent.writeUserPQuotaPagesCounters(self, 0, int(self.LifePageCounter or 0)) 
    431434        self.PageCounter = 0 
     435         
     436    def hardreset(self) :     
     437        """Resets actual and life time page counters to 0.""" 
     438        self.parent.writeUserPQuotaPagesCounters(self, 0, 0) 
     439        self.PageCounter = self.LifePageCounter = 0 
    432440         
    433441    def computeJobPrice(self, jobsize) :