We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8835972 commit 3940824Copy full SHA for 3940824
fixinventorydata/__main__.py
@@ -87,7 +87,11 @@ def gen_gcp_regions() -> dict:
87
if len(long_region) == 0:
88
previous_element = loc.previous_element
89
while previous_element:
90
- if previous_element.name == "a" and 'cloud-link' in previous_element.get('class', []) and len(previous_element.text.strip()) > 2:
+ if (
91
+ previous_element.name == "a"
92
+ and "cloud-link" in previous_element.get("class", [])
93
+ and len(previous_element.text.strip()) > 2
94
+ ):
95
long_region = previous_element.text.strip()
96
break
97
previous_element = previous_element.previous_element
0 commit comments