From 3610401edcbaca7718688c9aa068a17eea9d63da Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Tue, 31 Jul 2012 17:20:45 +0530 Subject: [PATCH] Fail with non-zero exit code when toc category missing --- setup/apidoc/gen_toc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/apidoc/gen_toc.py b/setup/apidoc/gen_toc.py index f7a34eb6341..9c84e1eaaa7 100644 --- a/setup/apidoc/gen_toc.py +++ b/setup/apidoc/gen_toc.py @@ -132,6 +132,7 @@ def choose_category(fn): return v raise Exception('Need to add a category for %s to %s:known_categories' % (fn, __file__)) + sys.exit(1) for f in sys.argv: