aboutsummaryrefslogtreecommitdiff
path: root/rpki/pubdb/models.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-10-08 03:08:37 +0000
committerRob Austein <sra@hactrn.net>2015-10-08 03:08:37 +0000
commite011d9cf24895b1465ce2adbcd94981360b5f7af (patch)
treeefe79ccf4ca4bcb966ac048ed0d1c121a3f0d38f /rpki/pubdb/models.py
parent9aa4f71e89de9e9189571c68ba1589024f77d71a (diff)
Upgrade to new way of doing WSGI. Silence ten zillion deprecation
warnings: Django 1.8 has a really obscure way of saying "Please don't import your models into your apps' __init__.py files, thanks." svn path=/branches/tk705/; revision=6101
Diffstat (limited to 'rpki/pubdb/models.py')
-rw-r--r--rpki/pubdb/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/pubdb/models.py b/rpki/pubdb/models.py
index ce42c688..c6196eab 100644
--- a/rpki/pubdb/models.py
+++ b/rpki/pubdb/models.py
@@ -249,7 +249,7 @@ class Delta(models.Model):
raise rpki.exceptions.ExistingObjectAtURI("Object already published at %s" % uri)
else:
raise rpki.exceptions.DifferentObjectAtURI("Found different object at %s (old %s, new %s)" % (uri, obj.hash, hash))
- except rpki.pubdb.PublishedObject.DoesNotExist:
+ except rpki.pubdb.models.PublishedObject.DoesNotExist:
pass
logger.debug("Publishing %s", uri)
PublishedObject.objects.create(session = self.session, client = client, der = der, uri = uri,