Skip to content
Browse files

[processing] fix vector functions definitions

  • Loading branch information
alexbruy committed Aug 28, 2014
1 parent b1ce532 commit 6130505c797c14b4fbc0cb7055c739c3f5c8ab4b
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/tools/
@@ -361,12 +361,12 @@ def checkMinDistance(point, index, distance, points):
int: QVariant.Int

def _fieldName(self, f):
def _fieldName(f):
if isinstance(f, basestring):
return f

def _toQgsField(self, f):
def _toQgsField(f):
if isinstance(f, QgsField):
return f
return QgsField(f[0], TYPE_MAP.get(f[1], QVariant.String))

0 comments on commit 6130505

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