Skip to content

Commit a74eb1a

Browse files
authored
fix: indentation error (#441)
1 parent a2c69fa commit a74eb1a

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

tagreader/utils.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -275,22 +275,22 @@ def get_mac_dns_search_list():
275275
print(f"An unexpected error occurred: {e}")
276276
return []
277277

278-
if any(
279-
domain in get_mac_dns_search_list()
280-
for domain in ["client.statoil.net", "statoil.net", "equinor.com"]
281-
):
282-
return True
278+
if any(
279+
domain in get_mac_dns_search_list()
280+
for domain in ["client.statoil.net", "statoil.net", "equinor.com"]
281+
):
282+
return True
283283

284-
s = subprocess.run(
285-
["security", "find-certificate", "-a", "-c" "client.statoil.net"],
286-
stdout=subprocess.PIPE,
287-
).stdout
284+
s = subprocess.run(
285+
["security", "find-certificate", "-a", "-c" "client.statoil.net"],
286+
stdout=subprocess.PIPE,
287+
).stdout
288288

289-
# deepcode ignore IdenticalBranches: Not an error. First test is just more precise.
290-
if hostname + ".client.statoil.net" in str(s):
291-
return True
292-
elif "client.statoil.net" in hostname and hostname in str(s):
293-
return True
289+
# deepcode ignore IdenticalBranches: Not an error. First test is just more precise.
290+
if hostname + ".client.statoil.net" in str(s):
291+
return True
292+
elif "client.statoil.net" in hostname and hostname in str(s):
293+
return True
294294
else:
295295
raise OSError(
296296
f"Unsupported system: {platform.system()}. Please report this as an issue."

0 commit comments

Comments
 (0)