backend/satellite_tools/reposync.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f70015893a75967dcaf33122488c3eaae03e4a2c
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Feb 27 08:48:49 2013 +0100
The directory index can use uppercase for the HTML markup.
diff --git a/backend/satellite_tools/reposync.py b/backend/satellite_tools/reposync.py
index 1d6b2fa..a9c72a9 100644
--- a/backend/satellite_tools/reposync.py
+++ b/backend/satellite_tools/reposync.py
@@ -642,7 +642,7 @@ class RepoSync(object):
if v is None:
continue
- for s in (m.group(1) for m in re.finditer(r'<a
href="(.+?)"', v)):
+ for s in (m.group(1) for m in re.finditer(r'(?i)<a
href="(.+?)"', v)):
if re.match(r'/', s) or re.search(r'\?', s) or
re.search(r'\.\.', s) or re.match(r'[a-zA-Z]+:', s) or
re.search(r'\.rpm$', s):
continue
if re.search(r'/$', s):
Show replies by date