os.path.isdir() -> .exists() for check for "comments" file.
authorW. Trevor King <wking@drexel.edu>
Mon, 21 Sep 2009 13:52:28 +0000 (09:52 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 21 Sep 2009 13:52:28 +0000 (09:52 -0400)
commite174881e3e39fbffa75aa0a1f858998827ad204c
tree67745f3f33a3e3eb99b4d273610ea0125d817bd1
parent59414d47c0fe16b9b6eb8cf765038db9032410c9
os.path.isdir() -> .exists() for check for "comments" file.

"comments" should always be a directory if it exists, but if it is
something else, be should fail rather than return an empty comment
list.

This fix was inspired by some browsing around in response to Thomas
Habets' version of a fix for missing "bugs" directory.
libbe/comment.py