From ef970630296b220bcf4108b3d6bf6223899ad520 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 20 Sep 2017 18:41:42 +1000 Subject: [PATCH] Identation --- python/plugins/processing/ProcessingPlugin.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python/plugins/processing/ProcessingPlugin.py b/python/plugins/processing/ProcessingPlugin.py index 44ac8d8adbf..5e0986012e8 100755 --- a/python/plugins/processing/ProcessingPlugin.py +++ b/python/plugins/processing/ProcessingPlugin.py @@ -103,10 +103,10 @@ class ProcessingDropHandler(QgsCustomDropHandler): class ProcessingModelItem(QgsDataItem): def __init__(self, parent, name, path): - super(ProcessingModelItem, self).__init__(QgsDataItem.Custom,parent,name,path) - self.setState(QgsDataItem.Populated ) #no children + super(ProcessingModelItem, self).__init__(QgsDataItem.Custom, parent, name, path) + self.setState(QgsDataItem.Populated) # no children self.setIconName(":/images/themes/default/processingModel.svg") - self.setToolTip(QDir.toNativeSeparators(path) ) + self.setToolTip(QDir.toNativeSeparators(path)) def hasDragEnabled(self): return True @@ -159,6 +159,7 @@ class ProcessingDataItemProvider(QgsDataItemProvider): return ProcessingModelItem(parentItem, alg.name(), path) return None + class ProcessingPlugin(object): def __init__(self, iface):