summaryrefslogtreecommitdiffstats
path: root/releng/management/commands/syncisos.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-02-27 01:45:14 +0100
committerDan McGee <dan@archlinux.org>2013-02-27 01:45:14 +0100
commitf85cc0482a44ced9aed372b8972d31040ed4043b (patch)
treef0790247018bfa5c243fff623f917d7a7a8bf0cf /releng/management/commands/syncisos.py
parent1457f78594a25f8cfb8ad1f9b3cd6d071a3d6a93 (diff)
parenta25cc4ff459ab0070ce48730f6c6fdc227860f08 (diff)
downloadarchweb-f85cc0482a44ced9aed372b8972d31040ed4043b.tar.gz
archweb-f85cc0482a44ced9aed372b8972d31040ed4043b.tar.xz
Merge branch 'django-1.5'
Conflicts: requirements.txt requirements_prod.txt
Diffstat (limited to 'releng/management/commands/syncisos.py')
-rw-r--r--releng/management/commands/syncisos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/releng/management/commands/syncisos.py b/releng/management/commands/syncisos.py
index 223c771..c9f6196 100644
--- a/releng/management/commands/syncisos.py
+++ b/releng/management/commands/syncisos.py
@@ -53,7 +53,7 @@ class Command(BaseCommand):
if not existing.active:
existing.active = True
existing.removed = None
- existing.save()
+ existing.save(update_fields=('active', 'removed'))
# and then mark all other names as no longer active
Iso.objects.filter(active=True).exclude(name__in=active_isos).update(
active=False, removed=now())