Replace pass with updated comment for return

This commit is contained in:
Johnny Cook 2016-11-22 17:07:42 -06:00 committed by rallytime
parent 1a78878b47
commit ca306c0860

View file

@ -3359,7 +3359,8 @@ def replace(name,
check_res, check_msg = _check_file(name)
if not check_res:
if ignore_if_missing and 'file not found' in check_msg:
pass
ret['comment'] = 'No changes needed to be made'
return ret
else:
return _error(ret, check_msg)