mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 14:51:13 +02:00
Use black with -l 120 param.
This commit is contained in:
1 parent
f928738bd5
commit
c021e21309
194 files changed
+6034
-4564
No files matched your search
@@ -23,6 +23,7 @@ from ..base_manager import BaseManager
|
||||
from .builtin_node_factory import BuiltinNodeFactory, BUILTIN_NODES
|
||||
|
||||
import logging
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -39,7 +40,7 @@ class Builtin(BaseManager):
|
||||
"""
|
||||
:returns: List of node type supported by this class and computer
|
||||
"""
|
||||
types = ['cloud', 'ethernet_hub', 'ethernet_switch']
|
||||
if BUILTIN_NODES['nat'].is_supported():
|
||||
types.append('nat')
|
||||
types = ["cloud", "ethernet_hub", "ethernet_switch"]
|
||||
if BUILTIN_NODES["nat"].is_supported():
|
||||
types.append("nat")
|
||||
return types
|
||||
Reference in new issue
Block a user