mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Add some missing imports from last night's py3 fixes (#17196)
This commit is contained in:
parent
0b070a04d0
commit
76f9935634
3 changed files with 3 additions and 2 deletions
|
@ -292,7 +292,7 @@ class DataLoader():
|
|||
|
||||
result = None
|
||||
if not source:
|
||||
display.warning('Invalid request to find a file that matches an empty string or "null" value')
|
||||
display.warning('Invalid request to find a file that matches an empty string or "null" value')
|
||||
elif source.startswith('~') or source.startswith(os.path.sep):
|
||||
# path is absolute, no relative needed, check existence and return source
|
||||
test_path = unfrackpath(b_source)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue