From 4a1eddcba9a7e5974ba3019c8a98a6768b9be441 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 12 Oct 2012 17:58:08 +0200 Subject: [PATCH] debug --- db_add.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db_add.py b/db_add.py index d5e32ae..2cc22cd 100755 --- a/db_add.py +++ b/db_add.py @@ -30,11 +30,15 @@ def db_add_job(con, name): return cur.fetchone()[0] def harmonize_timeformat(time): + logger_debug('1 time = %s' % time) if time != 'NULL': if time.isdigit(): + logger_debug('2 time = %s' % time) time = "to_timestamp('%s')" % time + logger_debug('3 time = %s' % time) else: time = "'%s'" % time + logger_debug('4 time = %s' % time) return time def db_add_build(con, db_id, number, start, end, status): -- 2.39.5