1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixed deprecation message

This commit is contained in:
Brian Coca 2015-10-13 11:40:21 -04:00
parent f5227d494b
commit c637d60a8d
2 changed files with 3 additions and 3 deletions

View file

@ -191,7 +191,7 @@ class Inventory(object):
return list(itertools.chain(*map(self._split_pattern, pattern))) return list(itertools.chain(*map(self._split_pattern, pattern)))
if ';' in 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 # If it's got commas in it, we'll treat it as a straightforward
# comma-separated list of patterns. # comma-separated list of patterns.
@ -222,7 +222,7 @@ class Inventory(object):
) )
if len(patterns) > 1: 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] return [p.strip() for p in patterns]

@ -1 +1 @@
Subproject commit 92d25017edf407731235b3b9abd14c514db0b5f1 Subproject commit 79e253053a92fbb2a98afb1fb95ff1dee0897425