Skip to content

Commit 63c2565

Browse files
committed
log checked CPIO dependencies
Signed-off-by: Zen <[email protected]>
1 parent 078b810 commit 63c2565

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ugrd/fs/cpio.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
__author__ = "desultory"
2-
__version__ = "3.7.1"
2+
__version__ = "3.7.2"
33

44
from pathlib import Path
5-
from zenlib.util import contains, unset, colorize
5+
66
from pycpio.cpio.symlink import CPIO_Symlink
7+
from zenlib.util import colorize, contains, unset
78

89

910
@contains("check_cpio")
@@ -35,6 +36,7 @@ def _check_in_cpio(self, file, lines=[], quiet=False):
3536
"""Checks that the file is in the CPIO archive, and it contains the specified lines."""
3637
cpio = self._cpio_archive
3738
file = str(file).lstrip("/") # Normalize as it may be a path
39+
self.logger.debug("Checking CPIO for dependency: %s" % file)
3840
if file not in cpio.entries:
3941
fp = Path(file)
4042
while str(fp) not in ["/", "."]:

0 commit comments

Comments
 (0)