Skip to content

Commit 0059b2b

Browse files
committedNov 28, 2017
[processing] remove Python 2 compatibility layer
1 parent 0f1f24a commit 0059b2b

File tree

105 files changed

+45
-170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+45
-170
lines changed
 

‎python/plugins/processing/ProcessingPlugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* *
1717
***************************************************************************
1818
"""
19-
from builtins import object
2019

2120
__author__ = 'Victor Olaya'
2221
__date__ = 'August 2012'
@@ -160,7 +159,7 @@ def createDataItem(self, path, parentItem):
160159
return None
161160

162161

163-
class ProcessingPlugin(object):
162+
class ProcessingPlugin:
164163

165164
def __init__(self, iface):
166165
self.iface = iface

‎python/plugins/processing/algs/exampleprovider/ProcessingExampleProviderPlugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* *
1717
***************************************************************************
1818
"""
19-
from builtins import object
2019

2120
__author__ = 'Victor Olaya'
2221
__date__ = 'July 2013'
@@ -40,7 +39,7 @@
4039
sys.path.insert(0, cmd_folder)
4140

4241

43-
class ProcessingExampleProviderPlugin(object):
42+
class ProcessingExampleProviderPlugin:
4443

4544
def __init__(self):
4645
self.provider = ExampleAlgorithmProvider()

0 commit comments

Comments
 (0)