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:
parent
25ac4ccef3
commit
1e255a72a8
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue