mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
removed if __debug__ around notify
This commit is contained in:
parent
a74f25d0ee
commit
204c6c2872
@ -3,8 +3,7 @@ from libdirect import HttpRequest
|
|||||||
from direct.directnotify.DirectNotifyGlobal import directNotify
|
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||||||
from direct.task.TaskManagerGlobal import taskMgr
|
from direct.task.TaskManagerGlobal import taskMgr
|
||||||
|
|
||||||
if __debug__:
|
notify = directNotify.newCategory('WebRequestDispatcher')
|
||||||
notify = directNotify.newCategory('WebRequestDispatcher')
|
|
||||||
|
|
||||||
class WebRequest(object):
|
class WebRequest(object):
|
||||||
"""
|
"""
|
||||||
@ -76,8 +75,7 @@ class WebRequestDispatcher(object):
|
|||||||
|
|
||||||
requestTimeout = 10.0
|
requestTimeout = 10.0
|
||||||
|
|
||||||
if __debug__:
|
notify = notify
|
||||||
notify = notify
|
|
||||||
|
|
||||||
def __new__(self, *a, **kw):
|
def __new__(self, *a, **kw):
|
||||||
obj = object.__new__(self, *a, **kw)
|
obj = object.__new__(self, *a, **kw)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user