aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/RPMFinder2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/RPMFinder b/bin/RPMFinder
index 7693679..82488f5 100755
--- a/bin/RPMFinder
+++ b/bin/RPMFinder
@@ -93,7 +93,7 @@ class RPMFind_Parser(HTMLParser):
self.attrs.pop()
def handle_data(self, data):
- if len(self.tags) and self.tags[-1] == "a" and data.find(".rpm") >= 0:
+ if len(self.tags) and self.tags[-1] == "a" and data.find(".rpm") >= 0 and data.find(".src.rpm") < 0:
href = self.attrs[-1][0][1].replace("\\", "").replace("'", "")
self.candidates[data] = href
elif len(self.tags) and self.tags[-1] == "a" and data.find(".html") >= 0: