613
614
""" % (exerciseid, filename, exerciseid, exerciseid, filename, rows))
616
def update_db_worksheet(subject, worksheet, file_mtime,
617
def update_db_worksheet(store, subject, worksheetname, file_mtime,
617
618
exercise_list=None, assessable=None):
619
620
Determines if the database is missing this worksheet or out of date,
620
621
and inserts or updates its details about the worksheet.
622
623
file. The database will not be updated unless worksheetmtime is newer than
623
624
the mtime in the database.
624
625
exercise_list is a list of (filename, optional) pairs as returned by