File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -513,14 +513,13 @@ def _check_if_interface_already_has_acl_in_direction(
513
513
direction = direction ,
514
514
).exists ():
515
515
return {}
516
- else :
517
- error_interface_already_assigned = (
518
- "Interfaces can only have 1 Access List assigned in each direction."
519
- )
520
- return {
521
- "direction" : [error_interface_already_assigned ],
522
- assigned_object_type : [error_interface_already_assigned ],
523
- }
516
+ error_interface_already_assigned = (
517
+ "Interfaces can only have 1 Access List assigned in each direction."
518
+ )
519
+ return {
520
+ "direction" : [error_interface_already_assigned ],
521
+ assigned_object_type : [error_interface_already_assigned ],
522
+ }
524
523
525
524
def save (self , * args , ** kwargs ):
526
525
"""
You can’t perform that action at this time.
0 commit comments