aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/conf.py b/conf.py
index b8204cb..eb8e7ac 100644
--- a/conf.py
+++ b/conf.py
@@ -1,4 +1,5 @@
import os
+import sys
import re
import importlib.machinery
@@ -126,6 +127,8 @@ if os.path.isfile(os.path.join(absroot, '.target')):
if not re.match('__*__', name):
vars()[name] = vars(ovconf)[name]
else:
- print("W: No target specifier. Write target to .target file.")
+ print("E: Invalid target specifier. Write valid target to .target file.")
+ sys.exit(-99)
else:
- print("W: No target specifier. Write target to .target file.")
+ print("E: No target specifier. Write target to .target file.")
+ sys.exit(-99)