'Sets subject\'s attribute value with the given timestamp.'

@utils.Synchronized
def SetAttribute(self, subject, attribute, value, timestamp):

    subject = utils.SmartStr(subject)
    attribute = utils.SmartStr(attribute)
    query = 'INSERT    INTO    tbl    VALUES    (?,    ?,    ?,    ?)'
    args = (subject, attribute, timestamp, value)
    self.Execute(query, args)
    self.dirty = True
    self.deleted = max(0, (self.deleted - self.cursor.rowcount))
