Raise exceptions if bug or comment value files are missing.
authorW. Trevor King <wking@drexel.edu>
Sun, 17 Apr 2011 01:01:53 +0000 (21:01 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 17 Apr 2011 01:07:48 +0000 (21:07 -0400)
commit54801289d1c29a57571c3630a438f811370d74cd
tree5a3c02e2ef8171e33b48811fc0bf4c2725dcf28e
parent933257520d63aac7ab4112fd915206d389fc42a1
Raise exceptions if bug or comment value files are missing.

This happens most often when a previous crash leaves an empty
directory `abc` in .be/.../bugs/abc/ or
.be/.../bugs/.../comments/abc/.  The new exception ensures the error
message is "Bug/Comment X missing value file" which tells you where to
look for the repository corruption not "summary is None" which told
you nothing.
libbe/bug.py
libbe/comment.py