git-svn-id: svn://svn.open-ils.org/ILS-Contrib/constrictor/trunk@861
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
def store_data(self):
end_time = time.time()
+ total_tasks = len(self.runtime_data)
+ task_counts = {}
+ task_times = 0
+ counter = 0
+
+ if total_tasks == 0:
+ log.log_info("No tasks were run!")
+ return
# close out the task set
if self.insert_data:
)
).close()
- task_counts = {}
- task_times = 0
- total_tasks = len(self.runtime_data)
- counter = 0
-
log.log_info("Inserting %d rows of data into data store..." % total_tasks)
# insert all of the task data