aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/left_right.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-07-16 00:58:32 +0000
committerRob Austein <sra@hactrn.net>2008-07-16 00:58:32 +0000
commit25549330ba0aac50bde10ef94304b2027f8a5050 (patch)
tree6fdea4910bc053a9273c2f8a494a9097d2d2c45d /rpkid/rpki/left_right.py
parenta62195420f0888373b68376f95605bae57b79ad7 (diff)
I should try goofing up the IRDB expiration date more often, all sorts
of intersting things blew up when I did that by accident. svn path=/rpkid/rpki/exceptions.py; revision=2000
Diffstat (limited to 'rpkid/rpki/left_right.py')
-rw-r--r--rpkid/rpki/left_right.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py
index 2b42ad85..d4c051f1 100644
--- a/rpkid/rpki/left_right.py
+++ b/rpkid/rpki/left_right.py
@@ -222,7 +222,7 @@ class self_elt(data_elt):
if now > ca_detail.latest_crl.getNextUpdate():
ca_detail.delete(ca, repository)
ca_detail = ca.fetch_active()
- if now > ca_detail.latest_crl.getNextUpdate():
+ if ca_detail is not None and now > ca_detail.latest_crl.getNextUpdate():
ca_detail.generate_crl()
ca_detail.generate_manifest()