Changeset 2218 for pykota/trunk/pykota/dumper.py
- Timestamp:
- 04/24/05 18:16:22 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/dumper.py
r2217 r2218 61 61 "printername", 62 62 "pgroupname", 63 "hostname", 64 "billingcode", 63 65 ] 64 66 def main(self, arguments, options, restricted=1) : … … 75 77 raise ValueError 76 78 except ValueError : 77 raise PyKotaToolError, _("Invalid value [%s] for --filter command line option, see help.") % filterexp79 raise PyKotaToolError, _("Invalid filter value [%s], see help.") % filterexp 78 80 else : 79 81 extractonly.update({ filterkey : filtervalue }) … … 91 93 raise PyKotaToolError, _("XML output is disabled because the jaxml module is not available.") 92 94 93 entries = getattr(self.storage, "extract%s" % datatype.title())(extractonly) 95 entries = getattr(self.storage, "extract%s" % datatype.title())(extractonly) 94 96 if entries : 95 97 mustclose = 0