Skip to content

Commit 524cb68

Browse files
Update xcp/net/ifrename/logic.py
Co-authored-by: Copilot <[email protected]>
1 parent f6ba8fb commit 524cb68

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

xcp/net/ifrename/logic.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -397,12 +397,12 @@ def rename(static_rules, cur_state, last_state, old_state):
397397
398398
Raises
399399
------
400-
- StaticRuleError: If a static rule's kname is not None, tname does not start
401-
with 'eth', or if there are duplicate eth names or
402-
MAC addresses in static rules.
403-
- CurrentStateError: If the current state contains invalid entries.
404-
- LastStateError: If the last state contains invalid entries.
405-
- TypeError: If any of the input lists contain objects that are not MACPCI instances.
400+
StaticRuleError: If a static rule's kname is not None, tname does not start
401+
with 'eth', or if there are duplicate eth names or
402+
MAC addresses in static rules.
403+
CurrentStateError: If the current state contains invalid entries.
404+
LastStateError: If the last state contains invalid entries.
405+
TypeError: If any of the input lists contain objects that are not MACPCI instances.
406406
"""
407407

408408
if len(static_rules):

0 commit comments

Comments
 (0)