fix order of constructor arguments

This commit is contained in:
Quentin De Coninck 2020-07-03 15:27:18 +02:00
parent 883771cd53
commit e93b95cdd4

View File

@ -247,8 +247,8 @@ class TopoParameter(Parameter):
except ValueError as e: except ValueError as e:
logging.error("Ignored path {}: {}".format(k, e)) logging.error("Ignored path {}: {}".format(k, e))
else: else:
path = LinkCharacteristics(link_id, link_type, delay, bw, path = LinkCharacteristics(link_id, link_type, delay, queue_size,
queue_size, loss_perc, backup=is_backup) bw, loss_perc, backup=is_backup)
self.link_characteristics.append(path) self.link_characteristics.append(path)
def __str__(self): def __str__(self):