diff --git a/direct/src/showbase/InputState.py b/direct/src/showbase/InputState.py index d85c7051f6..9ca2b6dc82 100755 --- a/direct/src/showbase/InputState.py +++ b/direct/src/showbase/InputState.py @@ -62,9 +62,7 @@ class InputState(DirectObject.DirectObject): #assert(self.debugPrint("isSet(name=%s)"%(name))) return self.state.get(name) - if __debug__: - def debugPrint(self, message): - """for debugging""" - return self.notify.debug( - "%s (%s) %s"%(id(self), len(self.state), message)) - \ No newline at end of file + def debugPrint(self, message): + """for debugging""" + return self.notify.debug( + "%s (%s) %s"%(id(self), len(self.state), message))