mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use function for empty string
Missed this when making changes for multi-file support
This commit is contained in:
parent
cb2620ad2b
commit
5e6b539770
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ def mock_open(mock=None, read_data=''):
|
|||
try:
|
||||
return next(data['filehandle'][filename])
|
||||
except StopIteration:
|
||||
return empty_string
|
||||
return _empty_string(data)
|
||||
|
||||
def _iter_side_effect():
|
||||
filename = _filename(data)
|
||||
|
|
Loading…
Add table
Reference in a new issue