Skip to content

Commit f24e8ba

Browse files
committed
fix method name
1 parent 109e424 commit f24e8ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

get-sites.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def process():
437437
advertise_where_type = 'site' if item.get('site') else 'virtual_site'
438438
advertise_where_types.append(advertise_where_type)
439439

440-
_row = {"type": "proxy", "subtype_a": proxy_type, "subtype_b": f"Advertise Policies [{"/".join(advertise_where_types).capitalize()}]", "object_name": k2}
440+
_row = {"type": "proxy", "subtype_a": proxy_type, "subtype_b": f"Advertise Policies [{'/'.join(advertise_where_types).capitalize()}]", "object_name": k2}
441441
rows.append(_row)
442442
else:
443443
print(f"unknown type {k1}")
@@ -849,7 +849,7 @@ def process_sites(self, name: str = None) -> dict:
849849
self.logger.info(f"{self.process_sites.__name__} <{len(sites_with_origin_pools_only)}> sites with origin pools only")
850850

851851
self.data["orphaned_sites"] = [k for k, v in self.data['site'].items() if 'labels' not in v.keys()]
852-
self.logger.info(f"{self.process_sites.__name__} <{len(self.data["orphaned_sites"])}> sites without labels (orphaned)")
852+
self.logger.info(f"{self.process_sites.__name__} <{len(self.data['orphaned_sites'])}> sites without labels (orphaned)")
853853

854854
self.process_site_details(urls=urls)
855855

0 commit comments

Comments
 (0)