Show
Ignore:
Timestamp:
12/27/03 17:49:25 (20 years ago)
Author:
uid67467
Message:

Should be ok now.

Files:
1 modified

Legend:

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

    r1239 r1240  
    2222# 
    2323# $Log$ 
    24 # Revision 1.8  2003/12/27 15:43:36  uid67467 
    25 # Savannah is back online... 
     24# Revision 1.9  2003/12/27 16:49:25  uid67467 
     25# Should be ok now. 
    2626# 
    2727# Revision 1.7  2003/11/25 23:46:40  jalet 
     
    144144        return action 
    145145         
     146    def computeJobSize(self) :     
     147        """Must be overriden in children classes.""" 
     148        raise RuntimeError, "AccounterBase.computeJobSize() must be overriden !" 
     149         
     150         
    146151def openAccounter(kotafilter) : 
    147152    """Returns a connection handle to the appropriate accounter.""" 
     
    152157        raise PyKotaAccounterError, _("Unsupported accounter backend %s") % backend 
    153158    else :     
    154         return getattr(accounterbackend, "Accounter")(kotafilter, args) 
     159        return accounterbackend.Accounter(kotafilter, args)