MarketSquare / SSHLibrary

Robot Framework test library for SSH and SFTP
http://marketsquare.github.io/SSHLibrary/
Other
158 stars 139 forks source link

Removes duplicate "list_files_in_dir" call. #468

Open PaulBrandUWV opened 1 month ago

PaulBrandUWV commented 1 month ago

The "list files in directory" keyword lists the files 2 times. Once inside the try.. catch and once after. This is not necessary, introduces the risk of not catching SSHException and reduces performance.

This PR removes the second call.