mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Rename __json__() to asdict()
This commit is contained in:
1 parent
44074ff7c9
commit
cefab8d362
89 files changed
+286
-282
No files matched your search
@@ -86,7 +86,7 @@ class VirtualBoxVM(BaseNode):
|
||||
self._ram = 0
|
||||
self._adapter_type = "Intel PRO/1000 MT Desktop (82540EM)"
|
||||
|
||||
def __json__(self):
|
||||
def asdict(self):
|
||||
|
||||
json = {
|
||||
"name": self.name,
|
||||
|
||||
Reference in new issue
Block a user