From: Holger Levsen Date: Fri, 12 Oct 2012 15:58:08 +0000 (+0200) Subject: debug X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=4a1eddcba9a7e5974ba3019c8a98a6768b9be441;p=profitbricks%2Fjenkins-build-scripts.git debug --- 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):