Loading transfer_service/db_connector.py +6 −3 Original line number Diff line number Diff line Loading @@ -329,7 +329,8 @@ class DbConnector(object): WHERE phase NOT IN ('ABORTED', 'COMPLETED', 'ERROR'); 'ERROR') ORDER BY creation_time DESC; """) result = cursor.fetchall() except Exception as e: Loading @@ -356,7 +357,8 @@ class DbConnector(object): start_time, owner_id FROM job WHERE phase = %s; WHERE phase = %s ORDER BY creation_time DESC; """, (phase,)) else: Loading @@ -368,7 +370,8 @@ class DbConnector(object): end_time, owner_id FROM job WHERE phase = %s; WHERE phase = %s ORDER BY creation_time DESC; """, (phase,)) result = cursor.fetchall() Loading Loading
transfer_service/db_connector.py +6 −3 Original line number Diff line number Diff line Loading @@ -329,7 +329,8 @@ class DbConnector(object): WHERE phase NOT IN ('ABORTED', 'COMPLETED', 'ERROR'); 'ERROR') ORDER BY creation_time DESC; """) result = cursor.fetchall() except Exception as e: Loading @@ -356,7 +357,8 @@ class DbConnector(object): start_time, owner_id FROM job WHERE phase = %s; WHERE phase = %s ORDER BY creation_time DESC; """, (phase,)) else: Loading @@ -368,7 +370,8 @@ class DbConnector(object): end_time, owner_id FROM job WHERE phase = %s; WHERE phase = %s ORDER BY creation_time DESC; """, (phase,)) result = cursor.fetchall() Loading