diff options
author | Rob Austein <sra@hactrn.net> | 2013-10-09 21:04:56 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2013-10-09 21:04:56 +0000 |
commit | 273ad5e79c17cf342898869989971f44e0609bfc (patch) | |
tree | 5c46f3e4d8ff234c1e64e7c7de8096eaf20bd4fb /rpkid | |
parent | 4f4312916c3a3a306880305d980065225cf88dea (diff) |
[5462] change to Auto_update error handling was incomplete.
Fixes #634.
svn path=/trunk/; revision=5558
Diffstat (limited to 'rpkid')
-rw-r--r-- | rpkid/rpki/x509.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/x509.py b/rpkid/rpki/x509.py index fcdd988b..80241896 100644 --- a/rpkid/rpki/x509.py +++ b/rpkid/rpki/x509.py @@ -288,10 +288,10 @@ class DER_object(object): except (IOError, OSError), e: now = rpki.sundial.now() if self.lastfail is None or now > self.lastfail + self.failure_threshold: - rpki.log.warn("Could not auto_update %r (failures %d): %s" % (self, self.failures, e)) + rpki.log.warn("Could not auto_update %r (last failure %s): %s" % (self, self.lastfail, e)) self.lastfail = now else: - self.failures = None + self.lastfail = None def check(self): """ |