mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-05 08:57:19 +02:00
Fix PEP8: remove trailing whitespace from blank lines
This commit is contained in:
@@ -210,10 +210,10 @@ class ModularComponentTemplateModel(ComponentTemplateModel):
|
||||
def resolve_position(self, position, module):
|
||||
"""
|
||||
Resolve {module} placeholder in position field.
|
||||
|
||||
|
||||
This is used by ModuleBayTemplate to resolve positions like "{module}/1"
|
||||
to actual values like "A/1" when the parent module is installed in bay "A".
|
||||
|
||||
|
||||
Fixes Issue #20467.
|
||||
"""
|
||||
if not position or MODULE_TOKEN not in position:
|
||||
|
||||
Reference in New Issue
Block a user