Bjoern Schliessmann wrote:

> class Source(object):

Little bug: The __init__ method of class Source should look like
this.

def __init__(self, ID, neighbour = None):
    self.connections = []
    self.ID = ID
    if neighbour: self.connections.append(neighbour)

Regards,


Björn

-- 
BOFH excuse #102:

Power company testing new voltage spike (creation) equipment

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to