Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
c637d60a
Commit
c637d60a
authored
Oct 13, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed deprecation message
parent
f5227d49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lib/ansible/inventory/__init__.py
+2
-2
lib/ansible/modules/core
+1
-1
No files found.
lib/ansible/inventory/__init__.py
View file @
c637d60a
...
@@ -191,7 +191,7 @@ class Inventory(object):
...
@@ -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):
...
@@ -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
]
...
...
core
@
79e25305
Subproject commit
92d25017edf407731235b3b9abd14c514db0b5f1
Subproject commit
79e253053a92fbb2a98afb1fb95ff1dee0897425
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment