summaryrefslogtreecommitdiffstats
path: root/devel/management/commands/reporead_inotify.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-11-07 04:17:27 +0100
committerDan McGee <dan@archlinux.org>2013-11-07 04:17:27 +0100
commitee6002c911952ddc8cfd07fded3de2c9b0193dc6 (patch)
tree09e1d0d8e1aba35289d62b95b47b318ebd8a1527 /devel/management/commands/reporead_inotify.py
parent86f9d6788e22376560ca1a56e86c8f679b832907 (diff)
downloadarchweb-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 'devel/management/commands/reporead_inotify.py')
-rw-r--r--devel/management/commands/reporead_inotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/management/commands/reporead_inotify.py b/devel/management/commands/reporead_inotify.py
index 6aa4e0e..e3c720b 100644
--- a/devel/management/commands/reporead_inotify.py
+++ b/devel/management/commands/reporead_inotify.py
@@ -66,7 +66,7 @@ class Command(BaseCommand):
if hasattr(thread, 'cancel'):
thread.cancel()
- @transaction.commit_on_success
+ @transaction.atomic
def setup_notifier(self):
'''Set up and configure the inotify machinery and logic.
This takes the provided or default path_template and builds a list of