diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-26 20:31:13 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-26 20:31:13 +0000 |
commit | e1d631df7838515e44edf5a38ff6362451da1340 (patch) | |
tree | 9f1a11905d9ef52d988b999cc085247c22c4c713 /rpki/gui/cacheview/util.py | |
parent | b46deb1417dc3596e9ac9fe2fe8cc0b7f42457e7 (diff) |
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
Diffstat (limited to 'rpki/gui/cacheview/util.py')
-rw-r--r-- | rpki/gui/cacheview/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
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...') |