mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Python3 fix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user