aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorvolpino <fox91@anche.no>2012-07-26 15:50:30 +0200
committervolpino <fox91@anche.no>2012-07-26 15:50:30 +0200
commitad0c9462301a735b54b7968648e2d6afbc137516 (patch)
tree1f12e5c965622f6d951d2681f1b2f2628da33e0c /bin
parenteuscan: Fixed typo (diff)
downloadeuscan-ad0c9462301a735b54b7968648e2d6afbc137516.tar.gz
euscan-ad0c9462301a735b54b7968648e2d6afbc137516.tar.bz2
euscan-ad0c9462301a735b54b7968648e2d6afbc137516.zip
euscan: patch_metadata regex fix to match bz2 sources
Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/euscan_patch_metadata2
1 files changed, 1 insertions, 1 deletions
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