From 204c6c28729ff1a724b0b382d0bbc22cb4d99ef7 Mon Sep 17 00:00:00 2001 From: "M. Ian Graham" Date: Fri, 5 Oct 2007 19:25:48 +0000 Subject: [PATCH] removed if __debug__ around notify --- direct/src/http/WebRequest.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/direct/src/http/WebRequest.py b/direct/src/http/WebRequest.py index 9b25fa81c4..674deafddf 100755 --- a/direct/src/http/WebRequest.py +++ b/direct/src/http/WebRequest.py @@ -3,8 +3,7 @@ from libdirect import HttpRequest from direct.directnotify.DirectNotifyGlobal import directNotify from direct.task.TaskManagerGlobal import taskMgr -if __debug__: - notify = directNotify.newCategory('WebRequestDispatcher') +notify = directNotify.newCategory('WebRequestDispatcher') class WebRequest(object): """ @@ -76,8 +75,7 @@ class WebRequestDispatcher(object): requestTimeout = 10.0 - if __debug__: - notify = notify + notify = notify def __new__(self, *a, **kw): obj = object.__new__(self, *a, **kw)