Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
quick typo fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@14640 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer committed Nov 14, 2010
1 parent f084b2c commit 6bd3183
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/plugins/fTools/tools/doValidate.py
Expand Up @@ -156,12 +156,11 @@ def check_geometry( self, vlayer ):
else:
#layer = vlayer # requires SIP >= 4.9
layer = []
layer.select([]) # select all features, and ignore attributes
vlayer.select([]) # select all features, and ignore attributes
ft = QgsFeature()
while vlayer.nextFeature(ft)
layer.append(ft)
ft = QgsFeature()
nFeat = layer.featureCount()
while vlayer.nextFeature(ft):
layer.append(QgsFeature(ft))
nFeat = len(layer)
nElement = 0
if nFeat > 0:
self.emit( SIGNAL( "runStatus(PyQt_PyObject)" ), 0 )
Expand Down

0 comments on commit 6bd3183

Please sign in to comment.