Permalink
Browse files

Remove left over code.

  • Loading branch information...
1 parent 355a4ab commit 667fb0edd9de63c265691045e68e219051c8b365 @s0undt3ch s0undt3ch committed with thatch45 Mar 13, 2013
Showing with 0 additions and 18 deletions.
  1. +0 −18 salt/utils/minions.py
View
@@ -130,24 +130,6 @@ def _check_grain_minions(self, expr):
# Still no match!? Remove the minion id from the list
minions.remove(id_)
- if isinstance(match, list):
- # We are matching a single component to a single list
- # member
- member_matched = False
- for member in match:
- if fnmatch.fnmatch(str(member).lower(),
- comps[1].lower()):
- member_matched = True
- break
- else:
- minions.remove(id_)
- if member_matched:
- continue
- if fnmatch.fnmatch(str(match.lower()), comps[1].lower()):
- continue
-
- minions.remove(id_)
-
return list(minions)
def _check_grain_pcre_minions(self, expr):

0 comments on commit 667fb0e

Please sign in to comment.