docchecker: remove naked except clause
This is fixing for 'naked except clause' check-code rule.
check-code has overlooked this, because a file isn't recognized as one
to be checked (this problem is fixed by subsequent patch).
--- a/doc/docchecker Wed Feb 10 22:44:29 2016 +0900
+++ b/doc/docchecker Wed Feb 10 22:44:29 2016 +0900
@@ -48,7 +48,7 @@
try:
with open(f) as file:
work(file)
- except:
- print("failed to process %s" % f)
+ except BaseException as e:
+ print("failed to process %s: %s" % (f, e))
main()