[releng] Mashmon: Only check trees with a date stamp
Till Maas
till at fedoraproject.org
Mon Nov 3 17:21:42 UTC 2014
commit cb4493dea3b7eb02c46f6d5494e8dcb0cf8e066d
Author: Till Maas <opensource at till.name>
Date: Mon Nov 3 18:22:12 2014 +0100
Mashmon: Only check trees with a date stamp
scripts/monitor_mash_log.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/monitor_mash_log.py b/scripts/monitor_mash_log.py
index 9301b68..7109882 100755
--- a/scripts/monitor_mash_log.py
+++ b/scripts/monitor_mash_log.py
@@ -34,7 +34,7 @@ class MashMonitor(object):
listing_resp = self.get(self.base_url)
soup = BeautifulSoup(listing_resp.content)
- href_re = re.compile("^{}-.*".format(self.release))
+ href_re = re.compile("^{}-[0-9]{{8}}/".format(self.release))
anchors = soup.find_all("a", attrs={"href": href_re})
hrefs = sorted([x["href"] for x in anchors])
More information about the rel-eng
mailing list