'Deletes all values of a attribute within the range [start, end].'

@utils.Synchronized
def DeleteAttributeRange(self, subject, attribute, start, end):

    subject = utils.SmartStr(subject)
    attribute = utils.SmartStr(attribute)
    query = 'DELETE    FROM    tbl    WHERE    subject    =    ?    AND    predicate    =    ?\n                                                            AND    timestamp    >=    ?    AND    timestamp    <=    ?'
    args = (subject, attribute, int(start), int(end))
    self.Execute(query, args)
    self.dirty = True
    self.deleted += self.cursor.rowcount
