Changeset 1240 for pykota/trunk/pykota/accounter.py
- Timestamp:
- 12/27/03 17:49:25 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounter.py
r1239 r1240 22 22 # 23 23 # $Log$ 24 # Revision 1. 8 2003/12/27 15:43:36uid6746725 # S avannah is back online...24 # Revision 1.9 2003/12/27 16:49:25 uid67467 25 # Should be ok now. 26 26 # 27 27 # Revision 1.7 2003/11/25 23:46:40 jalet … … 144 144 return action 145 145 146 def computeJobSize(self) : 147 """Must be overriden in children classes.""" 148 raise RuntimeError, "AccounterBase.computeJobSize() must be overriden !" 149 150 146 151 def openAccounter(kotafilter) : 147 152 """Returns a connection handle to the appropriate accounter.""" … … 152 157 raise PyKotaAccounterError, _("Unsupported accounter backend %s") % backend 153 158 else : 154 return getattr(accounterbackend, "Accounter")(kotafilter, args)159 return accounterbackend.Accounter(kotafilter, args)