diff options
author | Dan McGee <dan@archlinux.org> | 2013-11-07 04:17:27 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-11-07 04:17:27 +0100 |
commit | ee6002c911952ddc8cfd07fded3de2c9b0193dc6 (patch) | |
tree | 09e1d0d8e1aba35289d62b95b47b318ebd8a1527 /mirrors/management | |
parent | 86f9d6788e22376560ca1a56e86c8f679b832907 (diff) | |
download | archweb-ee6002c911952ddc8cfd07fded3de2c9b0193dc6.tar.gz archweb-ee6002c911952ddc8cfd07fded3de2c9b0193dc6.tar.xz |
Django 1.6 upgrade, deprecation cleanup
PendingDeprecationWarning: commit_on_success is deprecated in favor of atomic.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/management')
-rw-r--r-- | mirrors/management/commands/mirrorcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/management/commands/mirrorcheck.py b/mirrors/management/commands/mirrorcheck.py index 3f026c3..e48aa42 100644 --- a/mirrors/management/commands/mirrorcheck.py +++ b/mirrors/management/commands/mirrorcheck.py @@ -241,7 +241,7 @@ class MirrorCheckPool(object): thread.daemon = True self.threads.append(thread) - @transaction.commit_on_success + @transaction.atomic def run(self): logger.debug("starting threads") for thread in self.threads: |