mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-26 18:22:23 +02:00
cleanup: remove stray debug print in Dynamips node creation
The print(node_data.chassis, platform in DEFAULT_CHASSIS) at dynamips_nodes.py:67 (added in 8ad7b3f6, 2022) emitted "None False" to stdout on every Dynamips router creation. Pure debug leftover; the very next line tests the same condition.
This commit is contained in:
parent
958c45b6fc
commit
5de902c8b1
@ -64,7 +64,6 @@ async def create_router(project_id: UUID, node_data: schemas.DynamipsCreate) ->
|
|||||||
|
|
||||||
dynamips_manager = Dynamips.instance()
|
dynamips_manager = Dynamips.instance()
|
||||||
platform = node_data.platform
|
platform = node_data.platform
|
||||||
print(node_data.chassis, platform in DEFAULT_CHASSIS)
|
|
||||||
if not node_data.chassis and platform in DEFAULT_CHASSIS:
|
if not node_data.chassis and platform in DEFAULT_CHASSIS:
|
||||||
chassis = DEFAULT_CHASSIS[platform]
|
chassis = DEFAULT_CHASSIS[platform]
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user