Skip to content

Commit c5cedc1

Browse files
committed
Solved comments
1 parent 4166544 commit c5cedc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SoftLayer/CLI/vlan/edit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
def cli(env, identifier, name, note, tags):
2424
"""Edit a vlan's details."""
2525

26-
if not (name or note or tags):
27-
raise exceptions.CLIAbort("Is required Name or Note or Tags")
26+
if not any([name, note, tags]):
27+
raise exceptions.CLIAbort("At least one option is required")
2828

2929
new_tags = None
3030

0 commit comments

Comments
 (0)