summaryrefslogtreecommitdiff
path: root/public/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-04-16 20:02:22 -0500
committerDan McGee <dan@archlinux.org>2010-04-16 20:02:22 -0500
commit8ec2e404514770cce407a34b8149097d51192a40 (patch)
tree0a62a8f51583a11e68073b76230575ea54e7950a /public/utils.py
parent5fb2fca70a13181ae8aaec60e855693114b1198f (diff)
reporead: allow removal of last package in an arch
We had a situation where the last 'any' architecture package was present in the [testing] repo and never got removed because we never did the db_update() call on that architecture. Instead of looping all possible architectures and only calling if len() > 0, always call db_update() for both the primary architecture and the 'any' architecture. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public/utils.py')
0 files changed, 0 insertions, 0 deletions