[Git][reproducible-builds/diffoscope][master] Add the target directory when logging which directory we are extracting containers to.

Chris Lamb gitlab at salsa.debian.org
Fri Mar 12 09:33:41 UTC 2021



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
73cf4908 by Chris Lamb at 2021-03-11T17:41:51+00:00
Add the target directory when logging which directory we are extracting containers to.

- - - - -


1 changed file:

- diffoscope/comparators/utils/archive.py


Changes:

=====================================
diffoscope/comparators/utils/archive.py
=====================================
@@ -88,13 +88,16 @@ class ArchiveMember(File):
     @property
     def path(self):
         if self._path is None:
-            logger.debug(
-                "Unpacking %s from %s", self._name, self.container.source.name
-            )
             assert self._temp_dir is None
             self._temp_dir = get_temporary_directory(
                 suffix=self.container.__class__.__name__
             )
+            logger.debug(
+                "Unpacking %s from %s to %s",
+                self._name,
+                self.container.source.name,
+                self._temp_dir.name,
+            )
             with profile("container_extract", self.container):
                 self._path = self.container.extract(
                     self._name, self._temp_dir.name



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/73cf49088c2d4cdfbce279288eeb7f73e12deb95

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/73cf49088c2d4cdfbce279288eeb7f73e12deb95
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20210312/5102676a/attachment.htm>


More information about the rb-commits mailing list