diff --git a/parsl/channels/local/local.py b/parsl/channels/local/local.py index d06d40549a..40b7eac34f 100644 --- a/parsl/channels/local/local.py +++ b/parsl/channels/local/local.py @@ -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): @@ -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)