fix ssh 3
This commit is contained in:
parent
496e1ea562
commit
48f452ea2b
1 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ class DiscoveredDevice:
|
|||
|
||||
def _parse_config(config_text: str, rack_host: str) -> list[DiscoveredDevice]:
|
||||
"""Extract discovered network devices from a caps config file."""
|
||||
parser = RawConfigParser()
|
||||
parser = RawConfigParser(strict=False)
|
||||
parser.read_string(config_text)
|
||||
|
||||
discovered: list[DiscoveredDevice] = []
|
||||
|
|
@ -191,7 +191,7 @@ async def _autodetect_db_from_server(
|
|||
except Exception:
|
||||
return None
|
||||
|
||||
parser = RawConfigParser()
|
||||
parser = RawConfigParser(strict=False)
|
||||
parser.read_string(config_text)
|
||||
|
||||
db_uri = parser.get("server", "db_uri", fallback=None)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue