Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fix Number of unique values in classes alg (fix #12731)
  • Loading branch information
alexbruy committed May 20, 2015
1 parent 9b41e7b commit 426596c
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -4,6 +4,10 @@
##value_field=field input
##output=output vector

from PyQt4.Qt import QVariant

from qgis.core import QgsField, QgsFeature

layer = processing.getObject(input)
provider = layer.dataProvider()
fields = provider.fields()
Expand Down

0 comments on commit 426596c

Please sign in to comment.