Skip to content

Commit 1715b7a

Browse files
committed
fix: use case-insensitive comparison for infrastructures
1 parent 9395dd6 commit 1715b7a

File tree

1 file changed

+3
-0
lines changed
  • src/python/phenix_apps/apps/sceptre/configs

1 file changed

+3
-0
lines changed

src/python/phenix_apps/apps/sceptre/configs/configs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44

55
def get_fdconfig_class(infrastructure: str) -> type:
6+
# no reason for this to be case-sensitive
7+
infrastructure = infrastructure.lower().strip()
8+
69
if infrastructure == 'power-transmission':
710
base_class = infra.PowerTransmissionInfrastructure
811
elif infrastructure == 'power-distribution':

0 commit comments

Comments
 (0)