Skip to content

Commit

Permalink
Finished transition to bi-directional rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhartzheim committed Aug 12, 2015
1 parent f94b895 commit 4468dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rigidity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def writerow(self, row):
row to the CSV file.
'''
try:
self.csvobj.writerow(self.validate(row))
self.csvobj.writerow(self.validate_write(row))
except rigidity.errors.DropRow:
return

Expand Down Expand Up @@ -188,7 +188,7 @@ def __next__(self):
be repaired, and then return the row.
'''
try:
return self.validate(next(self.csvobj))
return self.validate_read(next(self.csvobj))
except rigidity.errors.DropRow:
return next(self)

Expand Down

0 comments on commit 4468dd9

Please sign in to comment.