Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove constant LocalChannel.hostname attribute #3687

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions parsl/channels/local/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def __init__(self):
KwArgs:
- script_dir (string): Directory to place scripts
'''
self.hostname = "localhost"
self.script_dir = None

def execute_wait(self, cmd, walltime=None):
Expand Down Expand Up @@ -82,7 +81,7 @@ def push_file(self, source, dest_dir):
os.chmod(local_dest, 0o700)

except OSError as e:
raise FileCopyException(e, self.hostname)
raise FileCopyException(e, "localhost")

else:
os.chmod(local_dest, 0o700)
Expand Down
Loading