diff options
Diffstat (limited to 'ka_debug.py')
-rw-r--r-- | ka_debug.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ka_debug.py b/ka_debug.py index 4f2f71b..0be89b8 100644 --- a/ka_debug.py +++ b/ka_debug.py @@ -41,8 +41,8 @@ def info(msg): """Log an info message.""" global _last_clock clock_now = time.clock() - print 'debug', int((time.time()-_start_time)*1000), \ - int((clock_now-_last_clock)*1000), ':', msg +# print 'debug', int((time.time()-_start_time)*1000), \ +# int((clock_now-_last_clock)*1000), ':', msg _last_clock = clock_now _avtivate_logger() _logger.debug(msg) @@ -52,8 +52,8 @@ def err(msg): """Log an error message.""" global _last_clock clock_now = time.clock() - print 'error', int((time.time()-_start_time)*1000), \ - int((clock_now-_last_clock)*1000), ':', msg +# print 'error', int((time.time()-_start_time)*1000), \ +# int((clock_now-_last_clock)*1000), ':', msg _last_clock = clock_now _avtivate_logger() _logger.error(msg) @@ -97,7 +97,7 @@ def contains_by_id(this_list, this_element): return True return False -try_once = True +try_once = False if try_once: try: try_once = False |