mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-13 01:20:58 +00:00
Fix an error with Python 3.4
This commit is contained in:
parent
bcc71b5455
commit
6ded234681
@ -643,7 +643,7 @@ class Project:
|
|||||||
node = self.get_node(node_link["node_id"])
|
node = self.get_node(node_link["node_id"])
|
||||||
yield from link.add_node(node, node_link["adapter_number"], node_link["port_number"], label=node_link.get("label"), dump=False)
|
yield from link.add_node(node, node_link["adapter_number"], node_link["port_number"], label=node_link.get("label"), dump=False)
|
||||||
for drawing_data in topology.get("drawings", []):
|
for drawing_data in topology.get("drawings", []):
|
||||||
yield from self.add_drawing(**drawing_data, dump=False)
|
yield from self.add_drawing(dump=False, **drawing_data)
|
||||||
|
|
||||||
self.dump()
|
self.dump()
|
||||||
# We catch all error to be able to rollback the .gns3 to the previous state
|
# We catch all error to be able to rollback the .gns3 to the previous state
|
||||||
|
Loading…
Reference in New Issue
Block a user