summaryrefslogtreecommitdiff
path: root/scripts/reporead.py
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-17 23:57:58 -0700
committereliott <eliott@cactuswax.net>2008-04-17 23:57:58 -0700
commit1e4084103783064255bd9d8576ded3e15e98a871 (patch)
tree75286610ebe1de3c1bf7a23333a61113fd3db41c /scripts/reporead.py
parent532edf85eb036631d7d007a4a2db7728edf12bb7 (diff)
fix for dep vercmp
Diffstat (limited to 'scripts/reporead.py')
-rwxr-xr-xscripts/reporead.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 26a550f2..2f97bbbe 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