Skip to content
Permalink
Browse files

quick typo fix

git-svn-id: http://svn.osgeo.org/qgis/trunk@14640 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer
cfarmer committed Nov 14, 2010
1 parent f084b2c commit 6bd3183945c675a8e9192245ec77ffab0f4dd73e
Showing with 4 additions and 5 deletions.
  1. +4 −5 python/plugins/fTools/tools/doValidate.py
@@ -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 )

0 comments on commit 6bd3183

Please sign in to comment.
You can’t perform that action at this time.