Skip to content

Commit

Permalink
fixed syntax error in sagaalgorithm
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@169 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed May 7, 2012
1 parent 154f4d6 commit ccdf076
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sextante/saga/SagaAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ def addToResamplingExtent(self, layer, first):
self.cellsize = (layer.extent().xMaximum() - layer.extent().xMinimum())/layer.width()
else:
cellsize = (layer.extent().xMaximum() - layer.extent().xMinimum())/layer.width()
if self.xmin != layer.extent().xMinimum() or
self.xmax != layer.extent().xMaximum() or
self.ymin != layer.extent().yMinimum() or
self.ymax != layer.extent().yMaximum() or
self.cellsize != cellsize:
if self.xmin != layer.extent().xMinimum() \
or self.xmax != layer.extent().xMaximum() \
or self.ymin != layer.extent().yMinimum() \
or self.ymax != layer.extent().yMaximum() \
or self.cellsize != cellsize:
self.xmin = min(self.xmin, layer.extent().xMinimum())
self.xmax = max(self.xmax, layer.extent().xMaximum())
self.ymin = min(self.ymin, layer.extent().yMinimum())
Expand Down

0 comments on commit ccdf076

Please sign in to comment.