summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2014-01-06 19:11:58 +0100
committerTill Maas <opensource@till.name>2014-01-06 19:11:58 +0100
commit96e8c5c1647cac0c51fea37120e21c3963d21269 (patch)
tree3b17477de5b3ce66467560309c6f2c1bf3f71e47
parente4b7d091a22885d13ec25fd94f93bc230766058a (diff)
downloadcnucnu-96e8c5c1647cac0c51fea37120e21c3963d21269.tar.gz
cnucnu-96e8c5c1647cac0c51fea37120e21c3963d21269.tar.xz
cnucnu-96e8c5c1647cac0c51fea37120e21c3963d21269.zip
Consider *.jar in DEFAULT regex
-rwxr-xr-xcnucnu/package_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cnucnu/package_list.py b/cnucnu/package_list.py
index c9c3f5c..6b0c186 100755
--- a/cnucnu/package_list.py
+++ b/cnucnu/package_list.py
@@ -195,7 +195,7 @@ class Package(object):
r"\d" + \
r"[^-/_\s]*?)" + \
r"(?:[-_.](?:src|source|orig))?" + \
- r"\.(?:tar|t[bglx]z|tbz2|zip)\b"
+ r"\.(?:[jt]ar|t[bglx]z|tbz2|zip)\b"
elif regex == "FM-DEFAULT":
regex = '<a href="/projects/[^/]*/releases/[0-9]*">([^<]*)</a>'
elif regex == "DIR-LISTING-DEFAULT":