summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-10 00:30:50 +0200
committerDan McGee <dan@archlinux.org>2011-06-10 00:30:50 +0200
commit01b07b5b07cd152949c9f01fec91408945273583 (patch)
tree6b0ef9b5aeab0ab63c6f15c33613576a0889f489 /devel
parent895f8a20d35a18f3a0cc6e1530eb40292270fc7c (diff)
downloadarchweb-01b07b5b07cd152949c9f01fec91408945273583.tar.gz
archweb-01b07b5b07cd152949c9f01fec91408945273583.tar.xz
Fix busted batch score on package removal
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/management/commands/reporead.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py
index e9878c9..0bd5587 100644
--- a/devel/management/commands/reporead.py
+++ b/devel/management/commands/reporead.py
@@ -404,7 +404,7 @@ def db_update(archname, reponame, pkgs, options):
logger.info("Removing package %s", p)
dbp = dbdict[p]
dbp.delete()
- batcher.batch_commit(score)
+ batcher.batch_commit(1)
# packages in both database and in syncdb (update in database)
pkg_in_both = syncset & dbset