Skip to content

Commit

Permalink
fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
tphung3 committed Jul 21, 2023
1 parent 980aa00 commit 9ddf18f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion parsl/addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def get_all_addresses() -> Set[str]:

return s_addresses


def get_any_address() -> str:
""" Uses a combination of methods to find any address of the local machine.
Expand All @@ -146,7 +147,7 @@ def get_any_address() -> str:
return addr
except Exception:
logger.exception("Ignoring an address finder exception")

if addr == '':
raise Exception('Cannot find address of the local machine.')
return addr
1 change: 0 additions & 1 deletion parsl/executors/taskvine/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import hashlib
import subprocess
import os
import socket
import time
import pickle
import queue
Expand Down

0 comments on commit 9ddf18f

Please sign in to comment.