summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-09 17:30:50 -0500
committerDan McGee <dan@archlinux.org>2011-06-09 17:30:50 -0500
commit01b07b5b07cd152949c9f01fec91408945273583 (patch)
tree6b0ef9b5aeab0ab63c6f15c33613576a0889f489
parent895f8a20d35a18f3a0cc6e1530eb40292270fc7c (diff)
Fix busted batch score on package removal
Signed-off-by: Dan McGee <dan@archlinux.org>
-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 e9878c93..0bd5587a 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