Skip to content
Snippets Groups Projects
Commit a001bfb0 authored by Chris AtLee's avatar Chris AtLee
Browse files

Bug 563008 - fix upload.py on python2.4. r=ted

parent 5edc4f71
No related branches found
No related tags found
No related merge requests found
......@@ -179,9 +179,6 @@ def UploadFiles(user, host, path, files, verbose=False, port=None, ssh_key=None,
print "Running post-upload command: " + post_upload_command
file_list = '"' + '" "'.join(remote_files) + '"'
DoSSHCommand('%s "%s" %s' % (post_upload_command, path, file_list), user, host, port=port, ssh_key=ssh_key)
except:
print "Encountered error while uploading"
raise
finally:
if upload_to_temp_dir:
DoSSHCommand("rm -rf %s" % path, user, host, port=port,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment