-
Committer:
John Arbash Meinel
-
Date:
2008-10-27 15:30:29 UTC
-
mto:
This revision was merged to the branch mainline in
revision
3800.
-
Revision ID:
john@arbash-meinel.com-20081027153029-ngnirc0efh3ulth6
Instead of counting the remaining offsets, trap the offset exception
This should give the same result, but it means one less thing to keep track of.
Also, make fp.close() a required attribute, rather than optional.