[MERGE] Bugfix: WT4.get_file_sha1 raises exception on missing files #118186
John Arbash Meinel
john at arbash-meinel.com
Fri Jun 1 19:44:44 BST 2007
John Arbash Meinel has voted +1.
Status is now: Approved
Comment:
I doubt it was 22499, (maybe 2499 ?)
Anyway, good catch, +1 from me
I would typically do:
if e.errno == errno.ENOENT:
return None
raise
rather than else: raise.
For me, it makes it clearer that it will raising is the default
behavior.
But I'm certainly not picky on it.
For details, see:
http://bundlebuggy.aaronbentley.com/request/%3C4660239C.2010608%40utoronto.ca%3E
More information about the bazaar
mailing list