Changeset 2991 for pykota

Show
Ignore:
Timestamp:
08/18/06 19:33:20 (18 years ago)
Author:
matt
Message:

Cast string to an int so we can += it

Files:
1 modified

Legend:

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

    r2889 r2991  
    570570            val = grouppquota.PageCounter or 0 
    571571            if enforcement == "STRICT" : 
    572                 val += self.softwareJobSize 
     572                val += int(self.softwareJobSize) 
    573573            if grouppquota.SoftLimit is not None : 
    574574                softlimit = int(grouppquota.SoftLimit)