[releng] mashmon: Show URL to mash log
Till Maas
till at fedoraproject.org
Mon Nov 3 21:14:24 UTC 2014
commit 50a6d0f62f20cc301721a188e7c9328a9e294eef
Author: Till Maas <opensource at till.name>
Date: Mon Nov 3 22:15:21 2014 +0100
mashmon: Show URL to mash log
scripts/monitor_mash_log.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/scripts/monitor_mash_log.py b/scripts/monitor_mash_log.py
index 35ccb43..d922096 100755
--- a/scripts/monitor_mash_log.py
+++ b/scripts/monitor_mash_log.py
@@ -71,8 +71,8 @@ class MashMonitor(object):
def montitor(self):
hrefs = self.get_hrefs()
self.latest_href = hrefs[-1]
- latest_url = self.build_mash_log_url(self.latest_href)
- warnings = self.get_signature_warnings(latest_url)
+ self.latest_url = self.build_mash_log_url(self.latest_href)
+ warnings = self.get_signature_warnings(self.latest_url)
return warnings
@@ -85,5 +85,7 @@ if __name__ == "__main__":
for release in args.releases.split(","):
mashmon = MashMonitor(release=release, arch=arch)
warnings = mashmon.montitor()
+ if warnings:
+ print(mashmon.latest_url)
for w in warnings:
print("{}/{}: {}".format(arch, release, w))
More information about the rel-eng
mailing list