Add boilerplate to fetch.py
This completes the modules/files directory so we can now check it for regressions.
This commit is contained in:
parent
f4d7b9a596
commit
fbf6cb8fff
2 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,10 @@
|
|||
# Copyright: (c) 2017, Ansible Project
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
|
||||
ANSIBLE_METADATA = {'metadata_version': '1.0',
|
||||
'status': ['stableinterface'],
|
||||
'supported_by': 'core'}
|
||||
|
|
|
@ -20,7 +20,6 @@ future2=$(find ./lib/ansible -path ./lib/ansible/modules -prune \
|
|||
|
||||
# Eventually we want metaclass3 and future3 to get down to 0
|
||||
metaclass3=$(find ./lib/ansible/modules -path ./lib/ansible/modules/windows -prune \
|
||||
-o -path ./lib/ansible/modules/files -prune \
|
||||
-o -path ./lib/ansible/modules/cloud/ovirt -prune \
|
||||
-o -path ./lib/ansible/modules/cloud/openstack -prune \
|
||||
-o -path ./lib/ansible/modules/cloud/cloudstack -prune \
|
||||
|
@ -41,7 +40,6 @@ metaclass3=$(find ./lib/ansible/modules -path ./lib/ansible/modules/windows -pru
|
|||
-o -name '*.py' -type f -size +0c -exec grep -HL '__metaclass__ = type' '{}' '+')
|
||||
|
||||
future3=$(find ./lib/ansible/modules -path ./lib/ansible/modules/windows -prune \
|
||||
-o -path ./lib/ansible/modules/files -prune \
|
||||
-o -path ./lib/ansible/modules/cloud/ovirt -prune \
|
||||
-o -path ./lib/ansible/modules/cloud/openstack -prune \
|
||||
-o -path ./lib/ansible/modules/cloud/cloudstack -prune \
|
||||
|
|
Loading…
Reference in a new issue