Skip to content

Commit

Permalink
[processing] code cleaning. Removed debug sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed May 21, 2014
1 parent 202d331 commit 889d2a1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/otb/OTBAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def processAlgorithm(self, progress):
else :
indexSubdataset = -1
else :
print "Error : no match of ", dataset, "$ in gdalinfo " + data
#print "Error : no match of ", dataset, "$ in gdalinfo " + data
indexSubdataset = -1


Expand Down
2 changes: 0 additions & 2 deletions python/plugins/processing/algs/qgis/ftools/MeanCoords.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def processAlgorithm(self, progress):
weightField = self.getParameterValue(self.WEIGHT)
uniqueField = self.getParameterValue(self.UID)

print weightField, uniqueField

if weightField is None:
weightIndex = -1
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def singleToMultiGeom(self, wkbType):
else:
return QGis.WKBUnknown
except Exception, err:
print unicode(err)
pass

def extractAsMulti(self, geom):
if geom.type() == QGis.Point:
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/ftools/SpatialJoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def singleToMultiGeom(self, wkbType):
else:
return QGis.WKBUnknown
except Exception, err:
print unicode(err)
pass

def extractAsMulti(self, geom):
if geom.type() == QGis.Point:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,6 @@ def processAlgorithm(self, progress):

crsId = self.getParameterValue(self.CRS)
self.crs = QgsCoordinateReferenceSystem(crsId)
print self.crs.authid()

if hspacing <= 0 or vspacing <= 0:
raise GeoAlgorithmExecutionException('Invalid grid spacing: '
Expand Down

0 comments on commit 889d2a1

Please sign in to comment.