From c637d60a8d433e5001f8379667d7a830e0a8400b Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 13 Oct 2015 11:40:21 -0400 Subject: [PATCH] fixed deprecation message --- lib/ansible/inventory/__init__.py | 4 ++-- lib/ansible/modules/core | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/inventory/__init__.py b/lib/ansible/inventory/__init__.py index a91d71c2ce..849e979b14 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -191,7 +191,7 @@ class Inventory(object): return list(itertools.chain(*map(self._split_pattern, pattern))) if ';' in pattern: - display.deprecated("Use ',' instead of ':' or ';' to separate host patterns", version=2.0, removed=True) + display.deprecated("Use ',' instead of ';' to separate host patterns") # If it's got commas in it, we'll treat it as a straightforward # comma-separated list of patterns. @@ -222,7 +222,7 @@ class Inventory(object): ) if len(patterns) > 1: - display.deprecated("Use ',' instead of ':' or ';' to separate host patterns", version=2.0) + display.deprecated("Use ',' instead of ':' to separate host patterns") return [p.strip() for p in patterns] diff --git a/lib/ansible/modules/core b/lib/ansible/modules/core index 92d25017ed..79e253053a 160000 --- a/lib/ansible/modules/core +++ b/lib/ansible/modules/core @@ -1 +1 @@ -Subproject commit 92d25017edf407731235b3b9abd14c514db0b5f1 +Subproject commit 79e253053a92fbb2a98afb1fb95ff1dee0897425