From e1d631df7838515e44edf5a38ff6362451da1340 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 26 Oct 2015 20:31:13 +0000 Subject: Whack a few things stale imports and Django 1.6-isms to get GUI running with new code base. Now working with $ yamltest.py --sql mysql --gui smoketest.1.yaml svn path=/branches/tk705/; revision=6153 --- rpki/gui/cacheview/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpki/gui/cacheview/util.py') diff --git a/rpki/gui/cacheview/util.py b/rpki/gui/cacheview/util.py index 7ab4837a..e843b7cd 100644 --- a/rpki/gui/cacheview/util.py +++ b/rpki/gui/cacheview/util.py @@ -249,7 +249,7 @@ def save_status(repo, vs): logger.debug('object is unchanged') -@transaction.commit_on_success +@transaction.atomic def process_cache(root, xml_file): last_uri = None @@ -289,7 +289,7 @@ def process_cache(root, xml_file): logger.info('done with garbage collection') -@transaction.commit_on_success +@transaction.atomic def process_labels(xml_file): logger.info('updating labels...') -- cgit v1.2.3