Skip to content

Commit 8b4cacf

Browse files
peace-makerArusekk
andauthored
Fix typo in ssh trying to access non-existent log.Progress.error (#2200)
* Fix typo in ssh trying to access log.Progress.error That function doesn't exist and .failure() is used everywhere else. * Use log.error instead of manually raising The log.Progress logger doesn't print the exception when exiting the scope. --------- Co-authored-by: Arusekk <[email protected]>
1 parent 23ef84e commit 8b4cacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwnlib/tubes/ssh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ def _download_to_cache(self, remote, p):
14741474
self._download_raw(remote, local, p)
14751475

14761476
if not self._verify_local_fingerprint(fingerprint):
1477-
p.error('Could not download file %r' % remote)
1477+
self.error('Could not download file %r', remote)
14781478

14791479
return local
14801480

0 commit comments

Comments
 (0)