diff options
author | sienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d> | 2012-05-25 10:40:28 -0400 |
---|---|---|
committer | sienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d> | 2012-05-25 10:40:28 -0400 |
commit | e72cb542e1f8686fc29cc4d9b6e968af4b0a5bc1 (patch) | |
tree | b0061d3515084bbd1a334bbdd4917eeb3f034a69 /steuermann/rexec.py | |
parent | 062a98726159b26c587bc53967f571b33950c3c2 (diff) | |
download | steuermann-e72cb542e1f8686fc29cc4d9b6e968af4b0a5bc1.tar.gz |
checkpoint
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@663 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'steuermann/rexec.py')
-rw-r--r-- | steuermann/rexec.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/steuermann/rexec.py b/steuermann/rexec.py index 43aba01..013dc94 100644 --- a/steuermann/rexec.py +++ b/steuermann/rexec.py @@ -69,6 +69,7 @@ def upload( host, filename, password, directory) : print e.read() return 1 print f.read() + f.close() return 0 if __name__ == '__main__' : @@ -96,6 +97,7 @@ if __name__ == '__main__' : if opt['-u'] : ex = 0 for x in args : + print "UPLOAD", x ex |= upload(host = host , filename=x, directory=directory, password=password) sys.exit(ex) else : |