]> git.mxchange.org Git - quix0rs-apt-p2p.git/commitdiff
add some default bogus values in __init__
authorburris <burris>
Sat, 21 Sep 2002 20:39:14 +0000 (20:39 +0000)
committerburris <burris>
Sat, 21 Sep 2002 20:39:14 +0000 (20:39 +0000)
node.py

diff --git a/node.py b/node.py
index 4d7a977a8ed79947ca1a9d48ea00e184688ec52e..1e1c0bd1f9ea19759b67f920703a6fb06cc27ef1 100644 (file)
--- a/node.py
+++ b/node.py
@@ -8,8 +8,9 @@ class Node:
     
     def __init__(self):
        self.fails = 0
-       self.lastSeen = time.time()
-
+       self.lastSeen = 0
+       self.id = self.host = self.port = ''
+       
     def init(self, id, host, port):
        self.id = id
        self.int = hash.intify(id)