Changeset 1665 for pykota/trunk/pykota

Show
Ignore:
Timestamp:
08/06/04 15:45:51 (20 years ago)
Author:
jalet
Message:

Fixed french translation problem.
Fixed problem with group quotas and strict enforcement.

Location:
pykota/trunk/pykota
Files:
3 modified

Legend:

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

    r1584 r1665  
    2222# 
    2323# $Log$ 
     24# Revision 1.7  2004/08/06 13:45:51  jalet 
     25# Fixed french translation problem. 
     26# Fixed problem with group quotas and strict enforcement. 
     27# 
    2428# Revision 1.6  2004/07/01 19:56:43  jalet 
    2529# Better dispatching of error messages 
     
    8690            else :     
    8791                status = retcode 
    88             self.filter.printInfo(_("Software accounter %s exit code is %s") % (self.arguments, repr(retcode))) 
     92            self.filter.printInfo(_("Software accounter %s exit code is %s") % (self.arguments, str(status))) 
    8993        self.filter.logdebug("Software accounter %s said job is %s pages long." % (self.arguments, pagecount)) 
    9094        return pagecount     
  • pykota/trunk/pykota/tool.py

    r1637 r1665  
    2222# 
    2323# $Log$ 
     24# Revision 1.117  2004/08/06 13:45:51  jalet 
     25# Fixed french translation problem. 
     26# Fixed problem with group quotas and strict enforcement. 
     27# 
    2428# Revision 1.116  2004/07/24 20:20:29  jalet 
    2529# Unitialized variable 
     
    716720                action = "WARN" # we can still print until account is 0 
    717721        else : 
    718             val = grouppquota.PageCounter 
     722            val = grouppquota.PageCounter or 0 
    719723            if enforcement == "STRICT" : 
    720724                val += self.softwareJobSize 
  • pykota/trunk/pykota/version.py

    r1664 r1665  
    2222# 
    2323 
    24 __version__ = "1.19_unofficial" 
     24__version__ = "1.20alpha1_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""