From 446598034624b3abd4e981a7d68dcebf86602f89 Mon Sep 17 00:00:00 2001 From: Adon Metcalfe Date: Fri, 31 Oct 2025 13:07:08 +0800 Subject: [PATCH] Improve FileContents docstring Remove odd bit in FileContents docstring --- src/pyinfra/facts/files.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pyinfra/facts/files.py b/src/pyinfra/facts/files.py index 7b15e5d7e..0f019068b 100644 --- a/src/pyinfra/facts/files.py +++ b/src/pyinfra/facts/files.py @@ -664,8 +664,7 @@ def process(self, output): class FileContents(FactBase): """ - Returns the contents of a file as a list of lines. Works with both sha1sum and sha1. Returns - ``None`` if the file doest not exist. + Returns the contents of a file as a list of lines. Returns ``None`` if the file does not exist. """ @override