Skip to content

Commit b6a8f05

Browse files
author
Federico Ceratto
committed
FP 0.29: sshfeeder fixes
1 parent 10f082d commit b6a8f05

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

af/fastpath/debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
fastpath (0.29) unstable; urgency=medium
2+
3+
* sshfeeder fixes
4+
5+
-- Federico Ceratto <[email protected]> Mon, 25 May 2020 12:35:26 +0100
6+
17
fastpath (0.28) unstable; urgency=medium
28

39
* Add file trimming safety

af/fastpath/fastpath/sshfeeder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def scan_new_files(self):
119119
stdin, stdout, stderr = self.ssh.exec_command(find_cmd, timeout=10)
120120
except (paramiko.ssh_exception.SSHException, AttributeError):
121121
# handle: AttributeError: 'NoneType' object has no attribute 'open_session'
122-
self.error("Broken SSH connection. Retrying.")
122+
log.error("Broken SSH connection. Retrying.")
123123
# We retry only once here. On failure we'll try again on the new
124124
# call to scan_new_files
125125
self._tryconnect()

0 commit comments

Comments
 (0)