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

Python3 fix

This commit is contained in:
Toshio Kuratomi 2014-10-12 10:40:48 -04:00
parent 25ac4ccef3
commit 1e255a72a8

View file

@ -21,7 +21,9 @@ from ansible.errors import AnsibleParserError
import json import json
class MockFile(file): from io import FileIO
class MockFile(FileIO):
def __init__(self, ds, method='json'): def __init__(self, ds, method='json'):
self.ds = ds self.ds = ds