From ad0c9462301a735b54b7968648e2d6afbc137516 Mon Sep 17 00:00:00 2001 From: volpino Date: Thu, 26 Jul 2012 15:50:30 +0200 Subject: [PATCH] euscan: patch_metadata regex fix to match bz2 sources Signed-off-by: volpino --- bin/euscan_patch_metadata | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/euscan_patch_metadata b/bin/euscan_patch_metadata index 617ca3b..2f1a834 100755 --- a/bin/euscan_patch_metadata +++ b/bin/euscan_patch_metadata @@ -117,7 +117,7 @@ def get_deb_url(name): content = opened.read() for link in BeautifulSoup(content, parseOnlyThese=SoupStrainer("a")): - if re.match("[^\s]+\.debian\.tar\.gz", link.text): + if re.match("[^\s]+\.debian\.tar\.(?:gz|bz2)", link.text): deb_url = link["href"] deb_type = "source" break