diff --git a/salt/minion.py b/salt/minion.py index 7c518a01f2..a93f2c85d5 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -2442,7 +2442,7 @@ class Matcher(object): ''' Returns true if the passed glob matches the id ''' - if not isinstance(tgt, str): + if not isinstance(tgt, basestring): return False return fnmatch.fnmatch(self.opts['id'], tgt)