Skip to content

Commit

Permalink
fixed #5522 and #5529
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@162 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf@gmail.com committed May 2, 2012
1 parent 98c2bb0 commit cfaa9ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sextante/ftools/Intersection.py
Expand Up @@ -47,7 +47,7 @@ def processAlgorithm(self, progress):
else:
if not crsA != crsB:
SextanteLog.addToLog(SextanteLog.LOG_WARNING, "Intersection. Non-matching CRSs. Results might be unexpected")
fields = ftools_utils.combineVectorFields( self.vlayerA, self.vlayerB )
fields = ftools_utils.combineVectorFields(vlayerA, vlayerB)
longNames = ftools_utils.checkFieldNameLength( fields )
if not longNames.isEmpty():
raise GeoAlgorithmExecutionException("Following field names are longer than 10 characters:\n" + longNames.join('\n') )
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/parameters/ParameterNumber.py
Expand Up @@ -18,7 +18,7 @@ def __init__(self, name="", description="", minValue = None, maxValue = None, de
self.value = None

def setValue(self, n):
if value is None:
if n is None:
self.value = self.default
return True
try:
Expand Down
2 changes: 1 addition & 1 deletion src/sextante/parameters/ParameterSelection.py
Expand Up @@ -9,7 +9,7 @@ def __init__(self, name="", description="", options=[], default = 0):
self.default = default

def setValue(self, n):
if value is None:
if n is None:
self.value = self.default
return True
try:
Expand Down

0 comments on commit cfaa9ad

Please sign in to comment.