aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/http.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-08-29 20:55:58 +0000
committerRob Austein <sra@hactrn.net>2012-08-29 20:55:58 +0000
commite252a23ca2502fa83d234bb4491efae02aeec30d (patch)
tree62a8bf04621d2e2d5dfbfb9aedbec79d8ca4b30f /rpkid/rpki/http.py
parent3e72d90ded7b35d3b292acfd1989c0ebe45174d6 (diff)
Add a lot of __repr__() methods in an attempt to make the logs more
useful. Add rpki.sql.cache_reference decorator, to give the garbage collector some guidance about linkages between active objects now that the SQL cache uses weak references. Other minor cleanup. svn path=/branches/tk274/; revision=4676
Diffstat (limited to 'rpkid/rpki/http.py')
-rw-r--r--rpkid/rpki/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/http.py b/rpkid/rpki/http.py
index 6e932d26..7d47826e 100644
--- a/rpkid/rpki/http.py
+++ b/rpkid/rpki/http.py
@@ -829,7 +829,7 @@ class http_queue(object):
log = log_method
def __repr__(self):
- return rpki.log.log_repr(self, "%s" % addr_to_string(self.hostport))
+ return rpki.log.log_repr(self, addr_to_string(self.hostport))
def __init__(self, hostport):
self.hostport = hostport