aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/euscan/handlers/sourceforge.py')
-rw-r--r--pym/euscan/handlers/sourceforge.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/euscan/handlers/sourceforge.py b/pym/euscan/handlers/sourceforge.py
index 752dba9..11563e0 100644
--- a/pym/euscan/handlers/sourceforge.py
+++ b/pym/euscan/handlers/sourceforge.py
@@ -20,8 +20,11 @@ def scan_url(pkg, url, options):
cp, ver, rev = portage.pkgsplit(pkg.cpv)
- project, filename = re.search("mirror://sourceforge/([^/]+)/(?:.*/)?([^/]+)",
- url).groups()
+ project, filename = re.search(
+ "mirror://sourceforge/([^/]+)/(?:.*/)?([^/]+)",
+ url
+ ).groups()
+
base_url = "http://qa.debian.org/watch/sf.php/%s" % project
file_pattern = regex_from_template(
filename.replace(ver, "${PV}")