aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-02-14 17:28:32 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-02-14 17:28:32 +0100
commitc07e4be67827163682f6624e9606365474a14852 (patch)
tree58f4ddba823a7dc9eb85f6121a31f25823a70487
parentcf8588f1257e15c527168cebc6376651f9ddd7d7 (diff)
parentfb6cbbb7ace51f504a92fa4dbf6304a7ee6995d1 (diff)
downloadmitmproxy-c07e4be67827163682f6624e9606365474a14852.tar.gz
mitmproxy-c07e4be67827163682f6624e9606365474a14852.tar.bz2
mitmproxy-c07e4be67827163682f6624e9606365474a14852.zip
Merge branch 'master' of https://github.com/mitmproxy/release
-rw-r--r--rtool.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtool.py b/rtool.py
index 858e9b05..dec0ee3f 100644
--- a/rtool.py
+++ b/rtool.py
@@ -369,9 +369,8 @@ def upload_snapshot(host, port, user, private_key, private_key_password, sdist,
print("Removing {}...".format(f))
sftp.remove(f)
-
+ print("Uploading {} as {}...".format(f, remote_filename))
with click.progressbar(length=os.stat(local_path).st_size) as bar:
- print("Uploading {} as {}...".format(f, remote_filename))
sftp.put(
local_path,
"." + remote_filename,