Skip to content

Commit f511ff3

Browse files
committed
Solved comments
1 parent f593d30 commit f511ff3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

SoftLayer/CLI/vlan/detail.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def cli(env, identifier, no_vs, no_hardware, no_trunks):
6060
# subnets.append(subnet_table)
6161
table.add_row(['subnets', subnet_table])
6262
else:
63-
table.add_row(['subnets', 'none'])
63+
table.add_row(['subnets', '-'])
6464

6565
server_columns = ['hostname', 'domain', 'public_ip', 'private_ip']
6666

@@ -74,7 +74,7 @@ def cli(env, identifier, no_vs, no_hardware, no_trunks):
7474
vsi.get('primaryBackendIpAddress')])
7575
table.add_row(['vs', vs_table])
7676
else:
77-
table.add_row(['vs', 'none'])
77+
table.add_row(['vs', '-'])
7878

7979
if not no_hardware:
8080
if vlan.get('hardware'):
@@ -86,7 +86,7 @@ def cli(env, identifier, no_vs, no_hardware, no_trunks):
8686
hardware.get('primaryBackendIpAddress')])
8787
table.add_row(['hardware', hw_table])
8888
else:
89-
table.add_row(['hardware', 'none'])
89+
table.add_row(['hardware', '-'])
9090

9191
if not no_trunks:
9292
if vlan.get('networkComponentTrunks'):
@@ -101,7 +101,7 @@ def cli(env, identifier, no_vs, no_hardware, no_trunks):
101101
'hardware', 'tagReferences'))])
102102
table.add_row(['trunks', trunks_table])
103103
else:
104-
table.add_row(['trunks', 'none'])
104+
table.add_row(['trunks', '-'])
105105

106106
env.fout(table)
107107

SoftLayer/managers/network.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ def get_vlan(self, vlan_id, mask=None):
438438
the specified VLAN.
439439
"""
440440

441-
_mask = None
442441
if mask:
443442
_mask = mask
444443
else:

0 commit comments

Comments
 (0)