From 19515cea13a8ff06133a5de95648f9eb5ac7116e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Thu, 16 Feb 2023 17:30:44 +0100 Subject: [PATCH] Some additional debugging, additional compatibility changes. --- britney2/policies/cloud.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/britney2/policies/cloud.py b/britney2/policies/cloud.py index 0c6c6f7..56fa755 100644 --- a/britney2/policies/cloud.py +++ b/britney2/policies/cloud.py @@ -95,6 +95,7 @@ class CloudPolicy(BasePolicy): self._load_state() def apply_src_policy_impl(self, policy_info, item, source_data_tdist, source_data_srcdist, excuse): + self.logger.info("Cloud Policy: Looking at {}".format(item.package)) if item.package not in self.package_set: return PolicyVerdict.PASS @@ -293,7 +294,7 @@ class CloudPolicy(BasePolicy): cwd=self.work_dir, stdout=file, stderr=subprocess.PIPE, - text=True + universal_newlines=True ) result.check_returncode() except subprocess.CalledProcessError: