mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
@djs52 please test your pull reqs
This commit is contained in:
parent
c9bb825d89
commit
983599f4a7
@ -637,7 +637,7 @@ def contains(path, text):
|
||||
if not os.path.exists(path):
|
||||
return False
|
||||
|
||||
stripped_text = test.strip()
|
||||
stripped_text = text.strip()
|
||||
try:
|
||||
with BufferedReader(path) as breader:
|
||||
for chunk in breader:
|
||||
|
Loading…
Reference in New Issue
Block a user