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

Add python3 compat boilerplate

This commit is contained in:
Toshio Kuratomi 2016-03-24 18:04:16 -07:00
parent 17e8500202
commit 80e7fbff75

View file

@ -16,6 +16,7 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
__metaclass__ = type __metaclass__ = type
from __future__ import (absolute_import, division, print_function)
def issubset(a, b): def issubset(a, b):
return set(a) <= set(b) return set(a) <= set(b)
@ -23,7 +24,7 @@ def issubset(a, b):
def issuperset(a, b): def issuperset(a, b):
return set(a) >= set(b) return set(a) >= set(b)
class TestModule(object): class TestModule:
''' Ansible math jinja2 tests ''' ''' Ansible math jinja2 tests '''
def tests(self): def tests(self):