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/app/glue.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/app/glue.py')
-rw-r--r-- | rpki/gui/app/glue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpki/gui/app/glue.py b/rpki/gui/app/glue.py index 330e014b..c312618f 100644 --- a/rpki/gui/app/glue.py +++ b/rpki/gui/app/glue.py @@ -34,7 +34,7 @@ from rpki.left_right import nsmap, version, tag_msg, tag_list_received_resources from lxml.etree import Element, SubElement from django.contrib.auth.models import User -from django.db.transaction import commit_on_success +from django.db.transaction import atomic def ghostbuster_to_vcard(gbr): @@ -67,7 +67,7 @@ def ghostbuster_to_vcard(gbr): return vcard.serialize() -@commit_on_success +@atomic def list_received_resources(log, conf): """ Query rpkid for this resource handle's received resources. |