diff options
author | Thomas Jourdan <b.vehikel@googlemail.com> | 2009-12-12 17:47:09 (GMT) |
---|---|---|
committer | Thomas Jourdan <b.vehikel@googlemail.com> | 2009-12-12 18:34:15 (GMT) |
commit | 8a6a80557f5e6b8bb69181ac39e1b93ba145e499 (patch) | |
tree | 34c8c471f805960e803c299e073a2bb865c83e4f /ka_debug.py | |
parent | f5ba3b40da10c79508b2e43e9a99b3db78ba4d5b (diff) |
removed *.mo files, adding html view
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 |