fixed bad copy/paste, deprecations should deprecate

pull/21343/head
Brian Coca 8 years ago
parent 7f1c43e597
commit 85194234ba

@ -1955,7 +1955,7 @@ class AnsibleModule(object):
if 'deprecations' in kwargs:
if isinstance(kwargs['deprecations'], list):
for d in kwargs['deprecations']:
self.warn(d)
self.deprecate(d)
else:
self.warn(kwargs['deprecations'])

Loading…
Cancel
Save