Some additional debugging, additional compatibility changes.

sil2100/source-and-binaries
Łukasz 'sil2100' Zemczak 2 years ago
parent a1c4b0a78b
commit 19515cea13

@ -95,6 +95,7 @@ class CloudPolicy(BasePolicy):
self._load_state() self._load_state()
def apply_src_policy_impl(self, policy_info, item, source_data_tdist, source_data_srcdist, excuse): 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: if item.package not in self.package_set:
return PolicyVerdict.PASS return PolicyVerdict.PASS
@ -293,7 +294,7 @@ class CloudPolicy(BasePolicy):
cwd=self.work_dir, cwd=self.work_dir,
stdout=file, stdout=file,
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
text=True universal_newlines=True
) )
result.check_returncode() result.check_returncode()
except subprocess.CalledProcessError: except subprocess.CalledProcessError:

Loading…
Cancel
Save