diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/RPMFinder | 2 |
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: |