File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -513,14 +513,14 @@ 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
+
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
+ }
524
524
525
525
def save (self , * args , ** kwargs ):
526
526
"""
You can’t perform that action at this time.
0 commit comments