|
@@ -14,3 +14,7 @@ def inspect(anObject):
|
|
|
|
|
|
|
|
__builtins__["inspect"] = inspect
|
|
__builtins__["inspect"] = inspect
|
|
|
__builtins__["__dev__"] = base.config.GetBool('want-dev', 0)
|
|
__builtins__["__dev__"] = base.config.GetBool('want-dev', 0)
|
|
|
|
|
+# this also appears in AIBaseGlobal
|
|
|
|
|
+if (not __debug__) and __dev__:
|
|
|
|
|
+ notify = directNotify.newCategory('ShowBaseGlobal')
|
|
|
|
|
+ notify.error("You must set 'want-dev' to false in non-debug mode.")
|