Changeset 3288 for pykota/trunk/pykota/accounters
- Timestamp:
- 01/11/08 19:08:24 (16 years ago)
- Location:
- pykota/trunk/pykota/accounters
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/hardware.py
r3275 r3288 25 25 import popen2 26 26 27 from pykota.accounter import AccounterBase, PyKotaAccounterError 27 from pykota.errors import PyKotaAccounterError 28 from pykota.accounter import AccounterBase 28 29 from pykota.accounters import snmp, pjl 29 30 -
pykota/trunk/pykota/accounters/ink.py
r3275 r3288 21 21 # 22 22 23 """This module handles ink accounting in PyKota.""" 24 23 25 import os 24 from pykota.accounter import AccounterBase, PyKotaAccounterError25 26 27 from pykota.errors import PyKotaAccounterError 28 from pykota.accounter import AccounterBase 26 29 27 30 class Accounter(AccounterBase) : … … 50 53 colorspace = colorspace.lower() 51 54 if colorspace not in ("cmyk", "bw", "cmy", "rgb", "gc") : 52 raise PyKotaAccounterError, "Invalid parameters for ink accounter : [%s]"% self.arguments55 raise PyKotaAccounterError, _("Invalid parameters for ink accounter : [%s]") % self.arguments 53 56 54 57 try : -
pykota/trunk/pykota/accounters/software.py
r3285 r3288 21 21 # 22 22 23 """This module handles software page counting for PyKota.""" 24 23 25 import os 24 26 import popen2 25 from pykota.accounter import AccounterBase, PyKotaAccounterError 27 28 from pykota.errors import PyKotaAccounterError 29 from pykota.accounter import AccounterBase 26 30 27 31 class Accounter(AccounterBase) :