aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-06-25 02:38:05 +0000
committerRob Austein <sra@hactrn.net>2012-06-25 02:38:05 +0000
commit0871b3b518a9314919f727d4f32c36bf7f3a6c56 (patch)
tree596cfe28b446d055797e685e7f9b2d97ace2e51a
parent72d5c18cb464bdbe57b99d3a5cebb027a1c968c3 (diff)
Paramiko shutdown code whines occasionally, maybe closing ssh
connection instead of just sftp channel will fix this? svn path=/trunk/; revision=4555
-rw-r--r--rcynic/rpki-torrent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcynic/rpki-torrent.py b/rcynic/rpki-torrent.py
index 1dfc26e7..54b18d81 100644
--- a/rcynic/rpki-torrent.py
+++ b/rcynic/rpki-torrent.py
@@ -203,7 +203,7 @@ def generator_main():
sftp.atomic_rename(zip_tempname, zip_filename)
syslog.syslog("Closing upload connection")
- sftp.close()
+ ssh.close()
def mirror_main():
client = TransmissionClient()