diff options
author | Rob Austein <sra@hactrn.net> | 2009-07-18 07:14:49 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-07-18 07:14:49 +0000 |
commit | ad8c775eccee8f666087e63f3a13931eacb4c5dd (patch) | |
tree | 30caa275c9f6ff6c1d0a011b47355669e3d01c2f /rpkid/rpki/async.py | |
parent | 4468d7e7e1d8a5411aa114e5a1e9d7c1b899174a (diff) |
Document a bunch of assertions. Fiddle with HTTPS timeouts.
svn path=/rpkid/rpki/async.py; revision=2643
Diffstat (limited to 'rpkid/rpki/async.py')
-rw-r--r-- | rpkid/rpki/async.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/async.py b/rpkid/rpki/async.py index a3847823..c7cd61b7 100644 --- a/rpkid/rpki/async.py +++ b/rpkid/rpki/async.py @@ -113,7 +113,7 @@ class timer(object): self.when = rpki.sundial.now() + when else: self.when = when - assert isinstance(self.when, rpki.sundial.datetime) + assert isinstance(self.when, rpki.sundial.datetime), "%r: Expecting a datetime, got %r" % (self, self.when) if self not in self.queue: self.queue.append(self) self.queue.sort() |