Skip to content
Permalink
Browse files

[processing]code cleaning

  • Loading branch information
volaya committed Sep 20, 2013
1 parent 2d60144 commit 865cb6208d0a61169dc9e4a4af552184d437be4d
Showing with 2 additions and 7 deletions.
  1. +1 −4 python/plugins/processing/algs/ftools/Buffer.py
  2. +1 −3 python/plugins/processing/tools/vector.py
@@ -16,19 +16,16 @@
* *
***************************************************************************
"""
from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException

__author__ = 'Victor Olaya'
__date__ = 'August 2012'
__copyright__ = '(C) 2012, Victor Olaya'
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'


from PyQt4.QtCore import *
from qgis.core import *
from processing.tools import dataobjects, vector
from processing.core.ProcessingLog import ProcessingLog
from processing.tools import vector

def buffering(progress, writer, distance, field, useField, layer, dissolve, segments):

@@ -22,7 +22,6 @@
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'

from processing.tools import dataobjects
from processing.core.ProcessingConfig import ProcessingConfig
from qgis.core import *
from PyQt4.QtCore import *
@@ -37,8 +36,7 @@ class Features():
def __init__(self, layer):
self.layer = layer
self.iter = layer.getFeatures()
self.selection = False;
##self.layer.dataProvider().rewind()
self.selection = False;
if ProcessingConfig.getSetting(ProcessingConfig.USE_SELECTED):
self.selected = layer.selectedFeatures()
if len(self.selected) > 0:

0 comments on commit 865cb62

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