Skip to content

Commit

Permalink
Merge pull request #120 from olehermanse/master
Browse files Browse the repository at this point in the history
Fixed issue with unrecognized keyword argument 'hide'
  • Loading branch information
olehermanse authored Feb 4, 2025
2 parents b610c4d + 0d44a47 commit adb3ad7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cf_remote/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ def run(self, command, hide=False):
result.retcode = result.returncode
return result

def put(self, src):
def put(self, src, hide=False):
src = os.path.abspath(src)
dst = os.path.basename(src)
if src != dst:
if not hide:
print("Local copy: '%s' -> '%s'" % (src, dst))
shutil.copy(src, dst)


Expand Down

0 comments on commit adb3ad7

Please sign in to comment.