[processing] Remove unused options argument from (create/get)VectorWriter

This commit is contained in:
Nyall Dawson 2017-05-02 19:16:54 +10:00
parent 8e70aa84fa
commit ee1236f067
2 changed files with 3 additions and 3 deletions

View File

@ -360,7 +360,7 @@ class OutputVector(Output):
self.compatible = getTempFilenameInTempFolder(self.name + '.' + ext)
return self.compatible
def getVectorWriter(self, fields, geomType, crs, context, options=None):
def getVectorWriter(self, fields, geomType, crs, context):
"""Returns a suitable writer to which features can be added as
a result of the algorithm. Use this to transparently handle
output values instead of creating your own method.
@ -384,7 +384,7 @@ class OutputVector(Output):
settings = QgsSettings()
self.encoding = settings.value('/Processing/encoding', 'System', str)
w, w_dest, w_layer = createVectorWriter(self.value, self.encoding, fields, geomType, crs, context, options)
w, w_dest, w_layer = createVectorWriter(self.value, self.encoding, fields, geomType, crs, context)
self.layer = w_layer
self.value = w_dest
return w

View File

@ -456,7 +456,7 @@ NOGEOMETRY_EXTENSIONS = [
]
def createVectorWriter(destination, encoding, fields, geometryType, crs, context, options=None):
def createVectorWriter(destination, encoding, fields, geometryType, crs, context):
layer = None
sink = None