Skip to content

Commit

Permalink
Fix SIM910
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartappli authored Jun 29, 2024
1 parent 141a173 commit b911d12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/syft/src/syft/client/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def check_network(network: dict) -> dict[Any, Any] | None:
online = False

if online:
version = network.get("version", None)
version = network.get("version")
# Check if syft version was described in NetworkRegistry
# If it's unknown, try to update it to an available version.
if not version or version == "unknown":
Expand Down Expand Up @@ -226,7 +226,7 @@ def check_network(network: dict) -> dict[Any, Any] | None:
online = False

if online:
version = network.get("version", None)
version = network.get("version")
# Check if syft version was described in NetworkRegistry
# If it's unknown, try to update it to an available version.
if not version or version == "unknown":
Expand Down Expand Up @@ -379,7 +379,7 @@ def check_enclave(enclave: dict) -> dict[Any, Any] | None:
online = False

if online:
version = enclave.get("version", None)
version = enclave.get("version")
# Check if syft version was described in EnclaveRegistry
# If it's unknown, try to update it to an available version.
if not version or version == "unknown":
Expand Down

0 comments on commit b911d12

Please sign in to comment.