Raise a better exception on truncated Zinc analysis files.

Review Request #1896 - Created March 11, 2015 and submitted

Information
David Turner
pants
79b2de4...
Reviewers
pants-reviews
benjyw, jsirois, stuhood
In the previous code, StopIteration was raised.  This exception would
be swallowed inside of a for loop (the loop would just terminate
early), and would cause a strange "generator didn't yield" message
from a contextmanager.

https://travis-ci.org/pantsbuild/pants/builds/53888317 is green.

I also confirmed that the new test case was red prior to the patch and green after.

Benjy Weinberger
David Turner
John Sirois
John Sirois
David Turner
David Turner
Review request changed

Status: Closed (submitted)

Loading...