Skip to content

Commit 1021dad

Browse files
mrm9084Copilot
andauthored
Update featuremanagement/_featuremanagerbase.py
Co-authored-by: Copilot <[email protected]>
1 parent 71c3183 commit 1021dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

featuremanagement/_featuremanagerbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _list_feature_flag_names(configuration: Mapping[str, Any]) -> List[str]:
6565
if not feature_flags or not isinstance(feature_flags, list):
6666
return []
6767

68-
flag_ids = [feature_flag.get("id") for feature_flag in feature_flags]
68+
flag_ids = [feature_flag.get("id") for feature_flag in feature_flags if feature_flag.get("id")]
6969
return list(dict.fromkeys(flag_ids))
7070

7171

0 commit comments

Comments
 (0)