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

index b3e8e96ecfbd91e8c31978937f876563214bfc93..7e7738cb1abff2537b8d4fe316d7c96d0a080042 100755 (executable)
--- a/db_add.py
+++ b/db_add.py
@@ -34,9 +34,9 @@ def harmonize_timeformat(time):
     if time != 'NULL':
         try:
             if time.isdigit():
-            logger.debug('2 time = %s' % time)
-            time = "to_timestamp('%s')" % time
-            logger.debug('3 time = %s' % time)
+                logger.debug('2 time = %s' % time)
+                time = "to_timestamp('%s')" % time
+                logger.debug('3 time = %s' % time)
         except:
             time = "'%s'" % time
             logger.debug('4 time = %s' % time)