added versions to dep notices (#24019)

* added versions to dep notices

* pep7

* string
This commit is contained in:
Brian Coca
2017-04-27 12:48:31 -04:00
committed by GitHub
parent 6845234d72
commit 31045d58c6
8 changed files with 13 additions and 10 deletions

View File

@@ -356,7 +356,7 @@ class GalaxyCLI(CLI):
msg = "Unable to load data from the include requirements file: %s %s"
raise AnsibleError(msg % (role_file, e))
else:
display.deprecated("going forward only the yaml format will be supported")
display.deprecated("going forward only the yaml format will be supported", version="2.6")
# roles listed in a file, one per line
for rline in f.readlines():
if rline.startswith("#") or rline.strip() == '':