We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f193e commit 1db8347Copy full SHA for 1db8347
python/plugins/sextante/script/scripts/Split_vector_layer_by_attribute.py
@@ -15,8 +15,6 @@
15
# We get the actual object,
16
layer = sextante.getobject(input)
17
provider = layer.dataProvider()
18
-allAttrs = provider.attributeIndexes()
19
-provider.select( allAttrs )
20
fields = provider.fields()
21
writers = {}
22
@@ -44,6 +42,5 @@
44
42
outFeat.setAttributes(atMap)
45
43
writers[clazz].addFeature(outFeat)
46
47
-
48
for writer in writers.values():
49
- del writer
+ del writer
0 commit comments