Fail with non-zero exit code when toc category missing

This commit is contained in:
Prasanna Santhanam 2012-07-31 17:20:45 +05:30
parent 911261a2ce
commit 3610401edc

View File

@ -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: