From a1a9d91b42f866f9b3142309ab56c3f30e877a48 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Thu, 19 Jul 2001 04:18:13 +0000 Subject: [PATCH] added returns to warning, debug, and info --- direct/src/directnotify/Notifier.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/directnotify/Notifier.py b/direct/src/directnotify/Notifier.py index d536078c1f..0b0e7b0e56 100644 --- a/direct/src/directnotify/Notifier.py +++ b/direct/src/directnotify/Notifier.py @@ -85,6 +85,7 @@ class Notifier: string = (self.getTime() + self.__name + '(warning): ' + warningString) self.__log(string) print(string) + return 1 # to allow assert(myNotify.warning("blah")) def setWarning(self, bool): """setWarning(self, int) @@ -104,6 +105,7 @@ class Notifier: string = (self.getTime() + self.__name + '(debug): ' + debugString) self.__log(string) print(string) + return 1 # to allow assert(myNotify.debug("blah")) def setDebug(self, bool): """setDebug(self, int) @@ -123,6 +125,7 @@ class Notifier: string = (self.getTime() + self.__name + '(info): ' + infoString) self.__log(string) print(string) + return 1 # to allow assert(myNotify.info("blah")) def getInfo(self): """getInfo(self)