Skip to content

Commit 779d6c6

Browse files
authored
facts.files.FileContents: improve docstring
1 parent 775c2f3 commit 779d6c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pyinfra/facts/files.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,7 @@ def process(self, output):
664664

665665
class FileContents(FactBase):
666666
"""
667-
Returns the contents of a file as a list of lines. Works with both sha1sum and sha1. Returns
668-
``None`` if the file doest not exist.
667+
Returns the contents of a file as a list of lines. Returns ``None`` if the file does not exist.
669668
"""
670669

671670
@override

0 commit comments

Comments
 (0)