def getSavePatches(self):
    if (self.curve.pointsStorage == 'file'):
        log.warn(('not saving file curves anymore- skipping %s' % self.uri))
        return []
    elif (self.curve.pointsStorage == 'graph'):
        return [self.graph.getObjectPatch(self.curvePointsContext(), subject=self.uri, predicate=L9['points'], newObject=Literal(self.curve.points_as_string()))]
    else:
        raise NotImplementedError(self.curve.pointsStorage)
def getSavePatches(self):
    if (self.curve.pointsStorage == 'file'):
        log.warn(('not saving file curves anymore- skipping %s' % self.uri))
        return []
    elif (self.curve.pointsStorage == 'graph'):
        return [self.graph.getObjectPatch(self.curvePointsContext(), subject=self.uri, predicate=L9['points'], newObject=Literal(self.curve.points_as_string()))]
    else:
        raise NotImplementedError(self.curve.pointsStorage)