Fix some documentation errors.
[quix0rs-apt-p2p.git] / apt_p2p / stats.py
index b76e389dc3c74fc52d2c4fec2c25d7739f1971ff..7cea6b2e1f707d74e3ca871946c4e39eb869191a 100644 (file)
@@ -34,8 +34,8 @@ class StatsLogger:
     def __init__(self, db):
         """Initialize the statistics.
         
-        @type store: L{db.DB}
-        @param store: the database for the Apt-P2P downloader
+        @type db: L{db.DB}
+        @param db: the database for the Apt-P2P downloader
         """
         # Database
         self.db = db
@@ -77,7 +77,7 @@ class StatsLogger:
         # General
         out.write("<table border='1' cellpadding='4px'>\n")
         out.write("<tr><th><h3>General</h3></th><th>Value</th></tr>\n")
-        out.write("<tr title='Contact address for this peer'><td>Contact</td><td>" + str(uncompact(contactAddress)) + '</td></tr>\n')
+        out.write("<tr title='Contact address for this peer'><td>Contact</td><td>" + str(contactAddress) + '</td></tr>\n')
         out.write("</table>\n")
         out.write('</td><td>\n')