Skip to content

Commit 4e8816a

Browse files
committed
remove useless return in cpio check funcs
Signed-off-by: Zen <[email protected]>
1 parent 0452d92 commit 4e8816a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ugrd/fs/cpio.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'desultory'
2-
__version__ = '3.4.2'
2+
__version__ = '3.4.3'
33

44

55
from zenlib.util import contains
@@ -26,7 +26,7 @@ def check_cpio_funcs(self) -> None:
2626
def check_in_cpio(self) -> None:
2727
""" Checks that all required files and lines are in the generated CPIO file. """
2828
for file, lines in self['check_in_cpio'].items():
29-
self._check_in_cpio(file, lines)
29+
_check_in_cpio(self, file, lines)
3030
return "All files and lines found in CPIO."
3131

3232

@@ -47,7 +47,6 @@ def _check_in_cpio(self, file, lines=[]):
4747
raise FileNotFoundError("Line not found in CPIO: %s" % line)
4848
else:
4949
self.logger.debug("Line found in CPIO: %s" % line)
50-
return "File and lines found in CPIO."
5150

5251

5352
def get_archive_path(self) -> str:

0 commit comments

Comments
 (0)