Everything works, or seems to. The package is now installable as

a regular python module through pip or whatever. Now our apps can
assemble data objects to be converted into accuwage files.
This commit is contained in:
Binh 2011-09-17 11:22:04 -05:00
parent 6f5d29faab
commit 1a0f4183e7

View file

@ -140,4 +140,7 @@ def verify_record_order(records):
if len(filter(lambda x:isinstance(x, record.FinalRecord), records)) != 1:
raise ValidationError("Incorrect number of FinalRecords")
def verify_records(records):
verify_required_records(records)
verify_record_order(records)