@@ -130,12 +130,12 @@ def getOCPVersion(version: str) -> dict | None:
130130 dict: Dictionary containing 'ga_date', 'standard_support', and 'extended_support'.
131131 Returns None if the version is not found or OCP data doesn't exist.
132132 """
133- ocp_data = getOCPLifecycleData ()
134- if not ocp_data :
133+ ocpData = getOCPLifecycleData ()
134+ if not ocpData :
135135 return None
136136
137- ocp_versions = ocp_data .get ("ocp_versions" , {})
138- return ocp_versions .get (version )
137+ ocpVersions = ocpData .get ("ocp_versions" , {})
138+ return ocpVersions .get (version )
139139
140140
141141def listOCPVersions () -> list :
@@ -149,31 +149,31 @@ def listOCPVersions() -> list:
149149 list: Sorted list of OCP version strings (e.g., ["4.12", "4.13", "4.14", ...]).
150150 Returns empty list if OCP data doesn't exist.
151151 """
152- ocp_data = getOCPLifecycleData ()
153- if not ocp_data :
152+ ocpData = getOCPLifecycleData ()
153+ if not ocpData :
154154 return []
155155
156- ocp_versions = ocp_data .get ("ocp_versions" , {})
156+ ocpVersions = ocpData .get ("ocp_versions" , {})
157157 # Sort versions numerically (4.12, 4.13, etc.)
158- return sorted (ocp_versions .keys (), key = lambda v : [int (x ) for x in v .split ("." )])
158+ return sorted (ocpVersions .keys (), key = lambda v : [int (x ) for x in v .split ("." )])
159159
160160
161- def getCatalogEditorial (catalog_tag : str ) -> dict | None :
161+ def getCatalogEditorial (catalogTag : str ) -> dict | None :
162162 """
163163 Get editorial content (What's New and Known Issues) for a specific catalog.
164164
165165 This function retrieves the editorial metadata from a catalog definition,
166166 which includes "What's New" highlights and "Known Issues" information.
167167
168168 Args:
169- catalog_tag (str): The catalog tag (e.g., "v9-251231-amd64").
169+ catalogTag (str): The catalog tag (e.g., "v9-251231-amd64").
170170
171171 Returns:
172172 dict: Dictionary with 'whats_new' and 'known_issues' keys containing
173173 structured lists. Returns None if catalog doesn't exist
174174 or has no editorial content.
175175 """
176- catalog = getCatalog (catalog_tag )
176+ catalog = getCatalog (catalogTag )
177177 if not catalog :
178178 return None
179179
0 commit comments