]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
gah
authorHolger Levsen <holger@layer-acht.org>
Fri, 12 Oct 2012 16:00:04 +0000 (18:00 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 12 Oct 2012 16:00:04 +0000 (18:00 +0200)
db_add.py

index 2cc22cdcec9cafe592429ee84967261f082fed23..df56f066de9b66d6bf2cd4f2fd2da595aa431198 100755 (executable)
--- a/db_add.py
+++ b/db_add.py
@@ -30,15 +30,15 @@ def db_add_job(con, name):
     return cur.fetchone()[0]
 
 def harmonize_timeformat(time):
-    logger_debug('1 time = %s' % time)
+    logger.debug('1 time = %s' % time)
     if time != 'NULL':
         if time.isdigit():
-            logger_debug('2 time = %s' % time)
+            logger.debug('2 time = %s' % time)
             time = "to_timestamp('%s')" % time
-            logger_debug('3 time = %s' % time)
+            logger.debug('3 time = %s' % time)
         else:
             time = "'%s'" % time
-            logger_debug('4 time = %s' % time)
+            logger.debug('4 time = %s' % time)
     return time
 
 def db_add_build(con, db_id, number, start, end, status):