summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-18 08:57:58 +0200
committereliott <eliott@cactuswax.net>2008-04-18 08:57:58 +0200
commit1e4084103783064255bd9d8576ded3e15e98a871 (patch)
tree75286610ebe1de3c1bf7a23333a61113fd3db41c
parent532edf85eb036631d7d007a4a2db7728edf12bb7 (diff)
downloadarchweb-1e4084103783064255bd9d8576ded3e15e98a871.tar.gz
archweb-1e4084103783064255bd9d8576ded3e15e98a871.tar.xz
fix for dep vercmp
-rwxr-xr-xscripts/reporead.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 26a550f..2f97bbb 100755
--- a/scripts/reporead.py
+++ b/scripts/reporead.py
@@ -184,7 +184,7 @@ def db_update(archname, pkgs):
for y in p.depends:
# make sure we aren't adding self depends..
# yes *sigh* i have seen them in pkgbuilds
- dpname,dpvcmp = re.match(r"([a-z0-9-]+)(.*)", y).groups()
+ dpname,dpvcmp = re.match(r"([a-z0-9_-]+)(.*)", y).groups()
if dpname == p.name:
logger.warning('Package %s has a depend on itself' % p.name)
continue