From 62ca6b5e35b6b207f0582990c86bb5016f028185 Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Thu, 17 Sep 2015 23:09:56 +0530 Subject: [PATCH] Remove deprecation warning; now handled in _split_patterns --- lib/ansible/inventory/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/ansible/inventory/__init__.py b/lib/ansible/inventory/__init__.py index 643f12d8fd3..4e7e90023ff 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -567,9 +567,6 @@ class Inventory(object): if subset_pattern is None: self._subset = None else: - if ';' in subset_pattern or ',' in subset_pattern: - display.deprecated("Use ':' instead of ',' or ';' to separate host patterns", version=2.0, removed=True) - subset_patterns = self._split_pattern(subset_pattern) results = [] # allow Unix style @filename data