Skip to content


Browse files Browse the repository at this point in the history
[processing] removed incompatible basestring check
  • Loading branch information
volaya committed Dec 1, 2016
1 parent b85b5e7 commit 420b7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/
Expand Up @@ -178,7 +178,7 @@ def tr(self, string, context=''):
def wrapper(self, dialog, row=0, col=0):
wrapper = self.metadata.get('widget_wrapper', None)
# wrapper metadata should be a class path
if isinstance(wrapper, basestring):
if isinstance(wrapper, str):
tokens = wrapper.split('.')
mod = __import__('.'.join(tokens[:-1]), fromlist=[tokens[-1]])
wrapper = getattr(mod, tokens[-1])
Expand Down

0 comments on commit 420b7ec

Please sign in to comment.