Changeset 3288 for pykota/trunk/pykota/accounters/ink.py
- Timestamp:
- 01/11/08 19:08:24 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
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 :