Skip to content

Commit 71b3940

Browse files
committed
improve logging and comments for build dir func check
Signed-off-by: Zen <[email protected]>
1 parent 4e8816a commit 71b3940

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ugrd/base/checks.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
__version__ = '0.2.0'
1+
__version__ = '0.2.1'
22

33
from zenlib.util import contains
44

55

66
@contains('check_included_funcs', 'Skipping included funcs check', log_level=30)
77
def check_included_funcs(self):
8+
""" Ensures required functions are included in the build dir. """
89
bash_func_names = [func + '() {\n' for func in self.included_functions]
910
_check_in_file(self, '/etc/profile', bash_func_names)
10-
return "Included functions check passed"
11+
return "All functions found in the build dir."
1112

1213

1314
@contains('check_in_file', 'Skipping in file check')

0 commit comments

Comments
 (0)