1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-17 22:08:35 +00:00

Fix a merge error

This commit is contained in:
Julien Duponchelle 2017-07-18 09:24:36 +02:00
parent 7b8e4c1a60
commit 873418dbbe
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -368,7 +368,7 @@ class Link:
if node["node"].node_type in ('vpcs',
'dynamips',
'qemu',
'iou'):
'iou',
'cloud',
'nat',
'docker'):
@ -383,11 +383,11 @@ class Link:
def __hash__(self):
return hash(self._id)
def __json__(self, topology_dump = False):
def __json__(self, topology_dump=False):
"""
:param topology_dump: Filter to keep only properties require for saving on disk
"""
res=[]
res = []
for side in self._nodes:
res.append({
"node_id": side["node"].id,