Skip to content

Commit

Permalink
Applied black linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Selpa committed May 26, 2020
1 parent 73a7359 commit fcff0b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudendure/cloudendure.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def get_machine_sync_details(self) -> Dict[Any]:
machine_id: str = _query_value["id"]
replication_info: Dict[str, Any] = _query_value.get("replicationInfo", {})
response_dict[machine_id] = {
"machine_name": _query_value.get("sourceProperties",{}).get("name",""),
"machine_name": _query_value.get("sourceProperties", {}).get("name", ""),
"in_inventory": _query_value["isAgentInstalled"],
"replication_status": _query_value["replicationStatus"],
"total_storage_bytes": replication_info.get("totalStorageBytes", -1),
Expand All @@ -476,7 +476,7 @@ def get_machine_sync_details(self) -> Dict[Any]:
return response_dict

def inspect_ce_project(self, check_type: str) -> Dict[str, Any]:
valid_check_types: List[str] = ['not_synced', 'not_started', 'not_current']
valid_check_types: List[str] = ["not_synced", "not_started", "not_current"]
if check_type not in valid_check_types:
print(
f'ERROR: Unknown check_type of "{check_type}"; Please use a valid check_type: [ {", ".join(valid_check_types)} ] ...'
Expand Down

0 comments on commit fcff0b8

Please sign in to comment.