13
0
livetrax/tools/bug_tool/ClientCookie/_Debug.py

10 lines
204 B
Python
Raw Normal View History

import ClientCookie
def debug(text):
if ClientCookie.CLIENTCOOKIE_DEBUG: _debug(text)
def _debug(text, *args):
if args:
text = text % args
ClientCookie.DEBUG_STREAM.write(text+"\n")